Skip to content

Instantly share code, notes, and snippets.

@jediminer543
Last active October 13, 2017 17:07
Show Gist options
  • Select an option

  • Save jediminer543/cb945d32e9761ef77b8d to your computer and use it in GitHub Desktop.

Select an option

Save jediminer543/cb945d32e9761ef77b8d to your computer and use it in GitHub Desktop.

Revisions

  1. jediminer543 revised this gist Dec 8, 2015. 1 changed file with 7 additions and 4 deletions.
    11 changes: 7 additions & 4 deletions Zoom.js
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,10 @@
    // ==UserScript==
    // @name Zoom
    // @namespace Flash
    // @include http://www.bbc.co.uk/news/uk-england-london-35037007
    // @include *
    // @version 1
    // @grant none
    // @run-at document-start
    // ==/UserScript==

    /*
    @@ -34,10 +35,12 @@ Shumway[1].type = "application/futuresplash";
    Shumway["application/x-shockwave-flash"] = Shumway[0];
    Shumway["application/futuresplash"] = Shumway[1];

    Shumway.description = "Shockwave Flash 11.2 r202";
    Shumway.description = "Shockwave Flash 20.0 r235";
    Shumway.filename = null;
    Shumway.name = "Shockwave Flash";
    Shumway.version = "11.2.202.451"
    Shumway.version = "20.0.0.235"; //"11.2.202.451";


    navigator.plugins["Shockwave Flash"] = Shumway;
    navigator.plugins["Shockwave Flash"] = Shumway;
    navigator.mimeTypes[Shumway[0].type] = Shumway[0];
    navigator.mimeTypes[Shumway[1].type] = Shumway[1];
  2. jediminer543 created this gist Dec 8, 2015.
    43 changes: 43 additions & 0 deletions Zoom.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,43 @@
    // ==UserScript==
    // @name Zoom
    // @namespace Flash
    // @include http://www.bbc.co.uk/news/uk-england-london-35037007
    // @version 1
    // @grant none
    // ==/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 11.2 r202";
    Shumway.filename = null;
    Shumway.name = "Shockwave Flash";
    Shumway.version = "11.2.202.451"


    navigator.plugins["Shockwave Flash"] = Shumway;