Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name TAU injector
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description Autofill my password to TAU form
- // @author Yoav Sternberg
- // @match *://nidp.tau.ac.il/*
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- const name = document.getElementsByName('Ecom_User_ID');
- if (name.length !== 0) {
- name[0].value = "YOUR_USERNAME";
- }
- const userId = document.getElementsByName('Ecom_User_Pid');
- if (userId.length !== 0) {
- userId[0].value = "YOUR_ID_NUMBER";
- }
- const password = document.getElementsByName('Ecom_Password');
- if (password.length !== 0) {
- password[0].value = "YOUR_PASSWORD";
- }
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement