Last active
September 21, 2020 09:22
-
-
Save bond-/a9db9c54b5bbe143684a18c9e67f8e2b to your computer and use it in GitHub Desktop.
Disable eval to get rid of annoying malware popups (Chrome PDF Viewer)
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 Disable eval to get rid of annoying malware popups | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match http*://*/* | |
// @exclude http*://*.google.com/* | |
// @run-at document-start | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
window.eval=function(){}; | |
})(); |
An option to disable the builtin Chrome PDF Viewer can be found in the settings, at chrome://settings/content/pdfDocuments
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Position: 1
Run At: document-start