wenybk.ru / Enable controls

// ==UserScript==
// @name         Enable controls
// @namespace    http://tampermonkey.net/
// @version      2
// @description  Открывает неактивные контролы на роутерах
// @author       Wendor
// @match        http://192.168.0.1/*
// @require      http://code.jquery.com/jquery-1.12.4.min.js
// @license      MIT
// @updateURL    https://openuserjs.org/meta/wenybk.ru/Enable_controls.meta.js
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    $(document).ready(function(){
        function unlock() {
            $("input:disabled, select:disabled").each(function(index) {
                $(this).prop("disabled", false);
                console.log(index);
            });

            setTimeout(unlock, 1000);
        }
        unlock();
    });
})();