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
<?php | |
/** | |
* Plugin Name: CM Defer Inline JavaScript | |
* Description: Wraps all inline javascript to fire when document.readyState becomes interactive | |
*/ | |
function cm_defer_js_script_wrapper() | |
{ | |
$wrapper = <<<EOF | |
document.addEventListener('readystatechange', function () { |
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 emulator.games download | |
// @version 0.0.2 | |
// @description Fixes the download button on emulator.games to actually download ROMs | |
// @author estelsmith | |
// @match https://emulator.games/roms/*/*/ | |
// @grant none | |
// ==/UserScript== | |
(function($, romId) { |
NewerOlder