From 6c5c4f89e80efca5bb0e80e25ef49dc1a2dea87f Mon Sep 17 00:00:00 2001 From: Thorin-Oakenpants Date: Wed, 15 Mar 2017 06:59:48 +1300 Subject: [PATCH] Updated 3.1 User Scripts (markdown) --- 3.1-User-Scripts.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/3.1-User-Scripts.md b/3.1-User-Scripts.md index ddbb2c8..06abb01 100644 --- a/3.1-User-Scripts.md +++ b/3.1-User-Scripts.md @@ -2,7 +2,8 @@ earthlng will explain what addons can use user scripts ### 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 [JoDonym](http://ip-check.info/?lang=en) +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 [JoDonym](http://ip-check.info/?lang=en) ```js // ==UserScript== @@ -25,7 +26,8 @@ Object.defineProperty(history,'length',{ ``` ### Conceal windows.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 // ==UserScript== @@ -60,7 +62,8 @@ Object.defineProperty(window,'name',{ ``` ### 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/ +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 / ==UserScript==