Additional Info
|
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. |
Level: 1
ADR Info
Additional Info
|
See this post: ? http://konghack.com/view_post.php?pid=3228203
|
Additional Info
|
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
|
Level: 1
ADR Info
Additional Info
|
Looks like we figured it out in chat. :)
|
Additional Info
|
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. |