Created
October 4, 2017 08:37
-
-
Save myrdd/63d9b593818436dffce0b0a14ee32e0c to your computer and use it in GitHub Desktop.
RequestPolicy issue #847 – Greasemonkey
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
border: dashed 2px magenta; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name rpbug | |
// @namespace fr.kergoz-panic.watilin | |
// @description provides a bug test case for RequestPolicy | |
// @include http://www.example.com/ | |
// @include https://www.example.com/ | |
// @resource css rpbug.css | |
// @grant GM_getResourceURL | |
// ==/UserScript== | |
"use strict"; | |
let $link = document.createElement("link"); | |
$link.rel = "stylesheet"; | |
$link.href = GM_getResourceURL("css"); | |
(document.head || document.documentElement).appendChild($link); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment