Forceing submit?

TFlan

I could change this in my User CP.
Reaction score
64
Its a Greasemonkey script. You go here: http://userscripts.org/scripts/show/36342

Click "Install this Script", then -assuming you have Greasemonkey installed- it will prompt you on installing a new greasemonkey script, click install. Log out of the TheHelper.net.

Go to http://www.thehelper.net/. A Prompt will come up asking for your Username and Password. Fill them in, once you've done that it will automatically log in for you every time you enter TheHelper.net.

No buttons required, no nothing. However, you could implement a script that adds a button below the login form that lets you change the given Username / Password... don't understand why that would be needed seeing as you should only have one account here.
 

gameman

It's been a long, long time.
Reaction score
95
I had to install Firefox due to the internet explorers grease monkey being a whole lot of suck. Its pretty awesome! The script I mean, It a little annoying though... how would I set it up so that it gives me a prompt that says "login?" instead of just loging me in?
 

TFlan

I could change this in my User CP.
Reaction score
64
Edit the script in whatever text editor you use.

To do this, right click on the monkey icon, click manage user scripts, click The Helper Auto-Login, then click Edit (bottom left)

Find the doLogin() function.

Replace it with this:

Code:
function doLogin(){
	var f = document.evaluate("//form[@action='login.php?do=login']",document,null,9,null).singleNodeValue,
		u = document.getElementById('navbar_username'),
		p = document.getElementById('navbar_password');
	if(username=="" || password==""){
		setFields();
	}else{
		if(u && p){
			var c = confirm("Log in as: " + username + "?");
			if(c){
				u.value = username;
				p.value = password;
				f.submit();
			}
		}
	}
}
 

gameman

It's been a long, long time.
Reaction score
95
You forgot the fact that it will promt you every time you visit a new page. (say your viewing a post.)
 

TFlan

I could change this in my User CP.
Reaction score
64
Change the include from
Code:
http://www.thehelper.net/*
to
Code:
http://www.thehelper.net/

It will only prompt you on the homepage.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top