Created
January 21, 2018 11:00
-
-
Save mxs42/fc5620daa21364baacd13e8461a7630d to your computer and use it in GitHub Desktop.
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 ZXHN H218N Unlocker | |
// @namespace 5051T3 | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author 5051T3 | |
// @match http://192.168.0.1/getpage.gch* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
var frame = document.body.querySelector("#mainFrame"); | |
if(frame) | |
{ | |
frame.onload = function() { | |
[...frame.contentDocument.querySelectorAll("input, select")].map((node) => { node.disabled = false; }); | |
}; | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment