From ad03ec1d6f24ee86a57aff9a865f7922471ce59e Mon Sep 17 00:00:00 2001 From: Thorin-Oakenpants Date: Mon, 27 Mar 2017 21:49:21 +1300 Subject: [PATCH] Updated 3.1 User Scripts (markdown) --- 3.1-User-Scripts.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/3.1-User-Scripts.md b/3.1-User-Scripts.md index 47934e5..0173ab3 100644 --- a/3.1-User-Scripts.md +++ b/3.1-User-Scripts.md @@ -1,7 +1,7 @@ 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.
You can test it at [BrowserSpy.dk](http://browserspy.dk/document.php)
@@ -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) ```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.
You can test it at https://mathiasbynens.github.io/rel-noopener/
```js