mirror of
https://github.com/arkenfox/user.js.git
synced 2025-02-22 15:01:15 +01:00
Updated 3.1 User Scripts (markdown)
parent
1927f7b1ff
commit
3602da0c64
@ -2,8 +2,9 @@
|
||||
Use [Greasemonkey](https://addons.mozilla.org/en-Us/firefox/addon/greasemonkey/) or something similar to run these
|
||||
|
||||
### :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.
|
||||
<br>You can test it at [BrowserSpy.dk](http://browserspy.dk/document.php)</br>
|
||||
* Author: [Thorin-Oakenpants](https://github.com/Thorin-Oakenpants)
|
||||
* 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
|
||||
// ==UserScript==
|
||||
@ -30,7 +31,9 @@ Object.defineProperty(history,'length',{
|
||||
```
|
||||
|
||||
### :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
|
||||
// ==UserScript==
|
||||
@ -65,7 +68,9 @@ Object.defineProperty(window,'name',{
|
||||
```
|
||||
|
||||
### :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
|
||||
/ ==UserScript==
|
||||
|
Loading…
Reference in New Issue
Block a user