Updated 4.2.1 User Scripts (markdown)

Thorin-Oakenpants 2020-09-15 11:23:03 +00:00
parent bfa735393e
commit 99d0c5c9e7

@ -6,19 +6,18 @@ Scripts with `@run-at document-start` don't work reliable enough with Greasemon
### :small_orange_diamond: window.opener be gone ### :small_orange_diamond: window.opener be gone
* Author: [earthlng](https://github.com/earthlng) * 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/ * Test: https://mathiasbynens.github.io/rel-noopener/
```js ```js
// ==UserScript== // ==UserScript==
// @name window.opener be gone // @name window.opener be gone
// @description Prevents tampering with window.opener. // @description Prevents tampering with window.opener.
// @version 2.0 // @version 2.1
// @match http://*/* // @match http://*/*
// @match https://*/* // @match https://*/*
// @exclude https://www.catalog.update.microsoft.com/DownloadDialog.aspx // @exclude https://www.catalog.update.microsoft.com/DownloadDialog.aspx
// @run-at document-start // @run-at document-start
// @namespace ghacksuserjs // @namespace arkenfox
// @grant GM.notification // @grant GM.notification
// Keys for FM: // Keys for FM:
// @allFrames true // @allFrames true