Last active
October 13, 2017 17:07
-
-
Save jediminer543/cb945d32e9761ef77b8d to your computer and use it in GitHub Desktop.
A file to stop sites from searching for Flash (10 points to people who get the reference)
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 Zoom | |
// @namespace Flash | |
// @include * | |
// @version 1 | |
// @grant none | |
// @run-at document-start | |
// ==/UserScript== | |
/* | |
* This is a JavaScript Scratchpad. | |
* | |
* Enter some JavaScript, then Right Click or choose from the Execute Menu: | |
* 1. Run to evaluate the selected text (Ctrl+R), | |
* 2. Inspect to bring up an Object Inspector on the result (Ctrl+I), or, | |
* 3. Display to insert the result in a comment after the selection. (Ctrl+L) | |
*/ | |
//allow pasting | |
Shumway = new Object(); | |
Shumway[0] = new Object(); | |
Shumway[0].description = "Shockwave Flash"; | |
Shumway[0].enabledPlugin = Shumway; | |
Shumway[0].suffixes = "swf"; | |
Shumway[0].type = "application/x-shockwave-flash"; | |
Shumway[1] = new Object(); | |
Shumway[1].description = "FutureSplash Player"; | |
Shumway[1].enabledPlugin = Shumway; | |
Shumway[1].suffixes = "spl"; | |
Shumway[1].type = "application/futuresplash"; | |
Shumway["application/x-shockwave-flash"] = Shumway[0]; | |
Shumway["application/futuresplash"] = Shumway[1]; | |
Shumway.description = "Shockwave Flash 20.0 r235"; | |
Shumway.filename = null; | |
Shumway.name = "Shockwave Flash"; | |
Shumway.version = "20.0.0.235"; //"11.2.202.451"; | |
navigator.plugins["Shockwave Flash"] = Shumway; | |
navigator.mimeTypes[Shumway[0].type] = Shumway[0]; | |
navigator.mimeTypes[Shumway[1].type] = Shumway[1]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment