mirror of
https://github.com/arkenfox/user.js.git
synced 2025-11-05 16:25:25 +01:00
Updated 3.1 User Scripts (markdown)
@@ -2,8 +2,9 @@
|
|||||||
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
|
||||||
|
|
||||||
### :small_orange_diamond: 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.
|
* Author: [Thorin-Oakenpants](https://github.com/Thorin-Oakenpants)
|
||||||
<br>You can test it at [BrowserSpy.dk](http://browserspy.dk/document.php)</br>
|
* Description: 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.
|
||||||
|
* Test: [BrowserSpy.dk](http://browserspy.dk/document.php)
|
||||||
|
|
||||||
```js
|
```js
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
@@ -30,7 +31,9 @@ Object.defineProperty(history,'length',{
|
|||||||
```
|
```
|
||||||
|
|
||||||
### :small_orange_diamond: 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)
|
* Author: Chris Rider
|
||||||
|
* Description: See [bugzilla 444222](https://bugzilla.mozilla.org/show_bug.cgi?id=444222)
|
||||||
|
* Test: [JoDonym](http://ip-check.info/?lang=en)
|
||||||
|
|
||||||
```js
|
```js
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
@@ -65,7 +68,9 @@ Object.defineProperty(window,'name',{
|
|||||||
```
|
```
|
||||||
|
|
||||||
### :small_orange_diamond: 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>
|
* Author: [earthlng](https://github.com/earthlng)
|
||||||
|
* Description: See [this](https://www.ghacks.net/2017/01/24/web-security-add-relnoopener-to-external-links/) ghacks article about rel=noopener
|
||||||
|
* Test: https://mathiasbynens.github.io/rel-noopener/
|
||||||
|
|
||||||
```js
|
```js
|
||||||
/ ==UserScript==
|
/ ==UserScript==
|
||||||
|
|||||||
Reference in New Issue
Block a user