need help setting up konghack script
need help setting up konghack script Posted on: 10/01/2012 5:50pm
Quote Post
ok, i'm obviously new to setting up stuff like this, i know how to do basic hacking but not scripts it seems.

so yeah, the title here is the question, i followed the instructions down to step 5 then i can't figure out step 6. how do i edit the script to put my API key in? this would be the first time i've really done such a thing so i'm kinda lost here.

perhaps a better explanation here than the instructions on the userscripts page could help others with this as well.
RE: need help setting up konghack script Posted on: 10/01/2012 6:52pm
Quote Post
TIM the Enchanter
Level: 1
ADR Info




Everything's coming up KongHack!

"When you know nothing matters, the universe is yours" ~Rick Sanchez

RE: need help setting up konghack script Posted on: 10/01/2012 7:11pm
Quote Post
ok... that didn't answer my question as its not a matter of getting an error or not. i need to know how to edit the script and put my API key in it, thats my problem
RE: need help setting up konghack script Posted on: 10/01/2012 8:20pm
Quote Post
TIM the Enchanter
Level: 1
ADR Info
Looks like we figured it out in chat. :)




Everything's coming up KongHack!

"When you know nothing matters, the universe is yours" ~Rick Sanchez

RE: need help setting up konghack script Posted on: 10/02/2012 11:13pm
Quote Post
Never let a computer tell me shit.
man this really needs to update the apikey on own. perhaps keep it in local storage instead of in the script.

heres my thought.
give the apikey textbox/div/whatevercontainer some unique ID.
add "http://konghack.com/ucp/hack_api_key.php" to the sites on the userscript.
if apikey is not set in localstorage, prompt to add apikey or whatevs
when the apikey page loads, the script scrapes the page and saves the apikey to local storage.
maybe a little div is shown that says "apikey successfully saved to userscript" or something

much easier than having users do it on own.



I use this AoB tool to make all the AoBs I post. Try the online version if you dont feel like downloading it.
"Obviously, windows are central to Windows. They are so important that they named the operating system after them. But what is a window?"