RTIonline autofill username password
Install latest with possible future updates OR Install fixed script with no updates
// ==UserScript==
// @name RTIonline autofill username password
// @version 0.1
// @description Set username and password autocomplete attributes
// @author https://github.com/z-aki
// @namespace https://github.com/z-aki
// @match https://rtionline.gov.in/request/status.php
// @icon https://rtionline.gov.in/images/rti-header.png
// @grant none
// @require https://gist.githubusercontent.com/adamhotep/7c9068f2196326ab79145ae308b68f9e/raw/373f5e8405b98781001aea9a9e74585367344960/waitForKeyElements.js
Warning
Malicious scripts can violate your privacy and act on your behalf!
You should only install scripts from sources that you trust.
All scripts in this repo are provided in two versions: updates and no updates
controlled by the @downloadURL
tag in the script header.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The trademarks and logos are property of their respective owners (mostly available in the @match
directive or @icon
directive (except when it's loaded from DuckDuckGo)) and no affiliation, association or endorsement is intended, implied or given by the author.
// ==UserScript==
// @name RTIonline autofill username password
// @version 0.1
// @description Set username and password autocomplete attributes
// @author https://github.com/z-aki
// @namespace https://github.com/z-aki
// @match https://rtionline.gov.in/request/status.php
// @icon https://rtionline.gov.in/images/rti-header.png
// @grant none
// @require https://gist.githubusercontent.com/adamhotep/7c9068f2196326ab79145ae308b68f9e/raw/373f5e8405b98781001aea9a9e74585367344960/waitForKeyElements.js
// @downloadURL none
// ==/UserScript==
function fix() {
return function () {
"use strict";
console.log("blahfoo");
var e = document.querySelectorAll('[id="registration_no"]');
e[0].setAttribute("autocomplete", "username");
e = document.querySelectorAll('[id="Email"]');
e[0].setAttribute("autocomplete", "password");
e[0].setAttribute("type", "password");
};
}
waitForKeyElements('input[id="registration_no"]', fix, false);