enable autofill

auto full username password login

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

You will need to install an extension such as Tampermonkey to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==UserScript==
// @name         enable autofill
// @namespace    http://tampermonkey.net/
// @version      2024-07-02
// @description  auto full username password login
// @author       You
// @grant        none
// @match        https://10.0.33.252:*/*loginc?*
// @match        http://10.0.33.251:*/*loginc?*
// @match        https://10.0.33.251:*/*loginc?*
// @match        http://10.0.39.170:*/*loginc?*
// @match        https://10.0.39.170:*/*loginc?*
// @match        http://10.0.34.60:*/*loginc?*
// @match        http://10.0.34.57:*/*loginc?*
// @match        http://asp282devxm.com:*/*loginc?*
// @match        http://oa.bjsasc.com:*/*loginc?*
// @match        http://asp281dev.com:*/*loginc?*
// @match        https://aspdemo281.com:*/*loginc?*
// @match        http://asp282dev.com:*/*loginc?*
// @match        http://asp283dev.com:*/*loginc?*
// @match        http://asp284dev.com:*/*loginc?*
// @match        http://asp285dev.com:*/*loginc?*
// @match        http://asp285test.com:*/*loginc?*
// @match        http://asp.asp.asp:*/*loginc?*
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    function deal(){
        var newValue=""
        var el1s = document.querySelectorAll('input[autocomplete="off"]');

        // 遍历所有找到的元素并移除autocomplete属性
        el1s.forEach(function(element) {
            element.removeAttribute('autocomplete');
        });

        var form = document.getElementById('signupForm');
        var el3 = document.getElementById('password1');
        form.insertBefore(el3, form.children[2]);
        if (el3) {
            el3.type = 'password';
            el3.id = 'password2';
            el3.value=""
        }

        var el2 = document.getElementById('password_orig');
        if (el2) {
            el2.style.width = '1px';
            el2.style.height = '1px';
            el2.value = "123"
            el2.style.display="none";
        }

        var el4 = document.getElementsByClassName('fa-lock')[0];
        if(el4){
            el4.style.display="none";
        }
    }
    setTimeout(deal,100);
    // Your code here...
})();