Bookmarklets I Use
Can any Firefox experts help me out with a bookmarklet, please?<p>A HN comment a while ago reported that you can switch to the 'reader mode' view of a website by prefixing the URL with 'about:reader?url=' - this can be useful for some pages where FF doesn't put the 'reader mode' button in the URL bar.<p>This seemed like an ideal use for a bookmarklet, so I created one as follows:<p><pre><code>   javascript:(function(){
       window.location = "about:reader?url=" + window.location;
   })()
</code></pre>
But, this doesn't work. In the console I get the error:<p>TypeError: Location.href setter: Access to 'about:reader?url=<a href="https://www.example.com/'" rel="nofollow">https://www.example.com/'</a> from script denied.<p>Is there any way to work around this, or do bookmarklets simply not have the permissions to alter the URL like this?