mirror of
https://github.com/arkenfox/user.js.git
synced 2024-11-29 22:06:55 +01:00
Updated 4.2.1 User Scripts (markdown)
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
|
||||
|
||||
* 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==
|
||||
// @name window.opener be gone
|
||||
// @description Prevents tampering with window.opener.
|
||||
// @version 2.0
|
||||
// @version 2.1
|
||||
// @match http://*/*
|
||||
// @match https://*/*
|
||||
// @exclude https://www.catalog.update.microsoft.com/DownloadDialog.aspx
|
||||
// @run-at document-start
|
||||
// @namespace ghacksuserjs
|
||||
// @namespace arkenfox
|
||||
// @grant GM.notification
|
||||
// Keys for FM:
|
||||
// @allFrames true
|
||||
|
Loading…
Reference in New Issue
Block a user