DMM.FlashVersionHacker

Hack DMM's Flash version checker

// ==UserScript==
// @name        DMM.FlashVersionHacker
// @namespace   Gizeta.Debris.Dmm.FlashVersionHacker
// @author      Gizeta <[email protected]>
// @description Hack DMM's Flash version checker
// @include     http://osapi.dmm.com/gadgets/ifr?*
// @version     1.0.0.0
// @grant       none
// ==/UserScript==

injectScript = function(src) {
    var scriptEl;
    scriptEl = document.createElement('script');
    scriptEl.innerHTML = "(" + (src.toString()) + ")();";
    return document.head.appendChild(scriptEl);
};

injectScript(function() {
  gadgets.flash.getMajorVersion = function() {
    return "11";
  };
});