Pages

Sunday, November 17, 2013

InStock















I thought by now you would be able to create extensions for mobile web browsers, but it turns out you can't. I found an alternative to extensions that does what we need and works in mobile browsers too.

They are called Bookmarklets. They are chunks of JavaScript code that can alter a page. You save the JavaScript in a bookmark and anytime you click the bookmark it runs your code. Once set up this worked on every browser I tested.

Create a new bookmark or edit an existing one. Change the name to something you can remember (I recommend InStock) and replace the URL with:
javascript:document.getElementById("STORE_MSG").removeAttribute("style");

That's all there is to it. Now when you see


Just click your new bookmark and...bam!


No comments:

Post a Comment