Tutorials Page 2

  • By
    Validate CSP from Command Line

    The content security policy spec has been an amazing front-end security tool to help prevent XSS and other types of attacks. I'd go as far to say that every site should implement as specific CSP as possible. If you aren't familiar with CSPs...

  • By
    Goals For 2020

    Every new year brings about a sense of optimism that the next 365 can bring about big, positive changes in different phases of life. That's no exception for me and this blog. I did pretty well with last year's goals, so I thought I'd push...

  • By
    2019 Year in Review

    The beginning of every year starts out with all of us setting ambitious goals -- goals being personal and professional. Many of us rarely complete half of those goals, most abandoning them by the end of the year. In January of this year I...

  • By
    Mirror Android Device to Computer

    As I continue my adventure into Android development, pair programming has been a huge help in learning this new platform. When it's time to build and run the app, relying on the emulator is a fools' game -- the emulator is slow and it's hard to...

  • By
    Image Lazy Loading

    Lazy loading images is a practice that's been popular for a decade and for good reason: images are usually the heaviest downloads on a given webpage and avoiding unloading images that are never seen saves the user bandwidth. There are plugins for lazy loading images in...

  • By
    Getting Started with GraphQL

    GraphQL was developed by Facebook in 2012 to power up its mobile apps. Since open-sourcing GraphQL specification in 2015, it gained a lot of popularity and is now used by many development teams, including giants like GitHub, Twitter or Airbnb. Why so? And what exactly...

  • By
    Real-Time Google Search Results API with serpstack

    In my early web days, I was interested in scraping and collecting data based on the results of Google searches. Scraping Google was easier in those days but now Google search results are so dynamic that you can't rely on getting the same HTML or data...

  • By
    Hello Fenix!

    Over seven years ago I made the massive career leap to Mozilla. Two years ago I realized a dream of joining the Firefox DevTools team -- it's been a rewarding adventure helping to improve the Firefox DevTools Debugger and other super helpful tools. I'm...

  • Media Temple Hosting
  • By
    JavaScript waitForTime

    I write a lot of tests for new features within Firefox DevTools. We have hundreds of "mochitests" which open the browser and perform synthetic actions like clicking, typing, and other user actions. I've previously written about waitForever which essentially halts following actions without locking the...

  • By
    Simple Scraping API with zenscrape

    So many developers believe that scraping a URL's content is easy -- just a simple curl and you're done, right? Nope. CAPTCHAs, rate limitations, origin-specific limitations -- they make getting content off the web a nightmare. Luckily we now have services like zenscrape...