To save this time, I’ve developed a simple “Developer” class which allows me to control the application flow without actually surfing the whole website. For example I could press “R” on my keyboard and an Ajax request would be sent to the server without interacting directly with the website itself.
The problem was that these simple hacks could be accidentally triggered by users. To solve it I defined two modes for these applications; Developers and non-Developers mode (default one). These states were simply activated/deactivated by running following code into the browsers command line:
console.log(‘Welcome to Developers mode :D’);
case 82: //R
And Everything worked fine! Yet to reduce friction more and more, I developed this bookmarklet wraps that one line command and you can run it by pressing this bookmark button. Just drag and drop Turn On Developers Mode on your bookmarks bar and press it every time you want to visit your websites as a developer!
Happy “Saving 2 Seconds of Your Life”!