User Tools

Site Tools


uzbl.org_wiki

Better load this script on load_finish, not load_commit.

uzbl_wiki_login_buttons = document.getElementsByClassName('button')
if (uzbl_wiki_login_buttons.length) {
	Uzbl.run("spawn /home/raskin/.local/share/uzbl/scripts/formfiller.sh load");
	if (uzbl_wiki_login_buttons[7].value == "Login") {
		setTimeout(function() {
				uzbl_wiki_login_buttons[7].click();
			}, 300);
	} else if (uzbl_wiki_login_buttons[12].value == "Login") {
		uzbl_wiki_login_buttons[12].click();
	}
}
uzbl.org_wiki.txt · Last modified: 2016/08/31 14:10 (external edit)