Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Alter GM_isGreasemonkeyable() for security and features.
Restrict greasing file: and about: URLs, to plug a potential security hole. (Add an about:config accessible preference to override this.) Add greasing data: URLs, and always about:blank (regardless of above). Signed-off-by: Johan Sundström <oyasumi+github@gmail.com>
- Loading branch information
Showing
2 changed files
with
20 additions
and
3 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
pref("extensions.{e4a8a97b-f2ed-450b-b12d-ee082ba24781}.description", "chrome://greasemonkey/locale/greasemonkey.properties"); | ||
pref("greasemonkey.aboutIsGreaseable", false); | ||
pref("greasemonkey.fileIsGreaseable", false); |