Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Netchex Online Login - trigger event to auto login.
// ==UserScript==
// @name netchexonline
// @namespace artistan
// @version 0.1
// @description skip username page
// @author You
// @match
// @require
// @require
// @grant all
// ==/UserScript==
waitForKeyElements("#username", function(elem) {
triggerEvent("input", "#username");
// jQuery events not working for angular, need direct DOM manipulation
function triggerEvent(e, s){
"use strict";
var event = document.createEvent('HTMLEvents');
event.initEvent(e, true, true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.