Updated 3.1 User Scripts (markdown)

Thorin-Oakenpants 2017-03-27 21:49:21 +13:00
parent 538539f70e
commit ad03ec1d6f

@ -1,7 +1,7 @@
Use [Greasemonkey](https://addons.mozilla.org/en-Us/firefox/addon/greasemonkey/) or something similar to run these Use [Greasemonkey](https://addons.mozilla.org/en-Us/firefox/addon/greasemonkey/) or something similar to run these
### Conceal history.length ### :small_orange_diamond: Conceal history.length
This does not break history in any way. It just lies to any JS asking about it. Your actual (max) history is controlled by `browser.sessionhistory.max_entries` which is a per tab setting. This does not break history in any way. It just lies to any JS asking about it. Your actual (max) history is controlled by `browser.sessionhistory.max_entries` which is a per tab setting.
<br>You can test it at [BrowserSpy.dk](http://browserspy.dk/document.php)</br> <br>You can test it at [BrowserSpy.dk](http://browserspy.dk/document.php)</br>
@ -29,7 +29,7 @@ Object.defineProperty(history,'length',{
``` ```
### Conceal window.name ### :small_orange_diamond: Conceal window.name
See [bugzilla 444222](https://bugzilla.mozilla.org/show_bug.cgi?id=444222). You can test it at [JoDonym](http://ip-check.info/?lang=en) See [bugzilla 444222](https://bugzilla.mozilla.org/show_bug.cgi?id=444222). You can test it at [JoDonym](http://ip-check.info/?lang=en)
```js ```js
@ -64,7 +64,7 @@ Object.defineProperty(window,'name',{
}); });
``` ```
### Clear window.opener ### :small_orange_diamond: Clear window.opener
See [this](https://www.ghacks.net/2017/01/24/web-security-add-relnoopener-to-external-links/) ghacks article about rel=noopener.<br>You can test it at https://mathiasbynens.github.io/rel-noopener/</br> See [this](https://www.ghacks.net/2017/01/24/web-security-add-relnoopener-to-external-links/) ghacks article about rel=noopener.<br>You can test it at https://mathiasbynens.github.io/rel-noopener/</br>
```js ```js