Inoffensive Links got you down?
Get an awesome offensive link today!
click-bitch.ovh
[Resolved] KongHack Userscript
problems inside
KongHack Userscript Posted on: 11/15/2014 1:09am
Quote Post
The Laziest Man on KongHack

TL;DR linkage

OS: Windows 7 64x Ultimate
browser: Firefox (28.0, 33.1.0, and 33.1.1)
Java: newest version
Flash Player: 13 and 15
Greasemonkey: 1 and 2

alright so heres the deal. something is fucked up somewhere. i shall recount the steps/actions ive done

I recently wiped my computer because i do things like that. After installing Windows and everything i installed firefox, then flash player (and activeX), then java. i put adblock plus and greasemonkey on here, go to the website, and the link to the userscript doesnt work. it does that weird thing where it scrolls up and acts like its going to load but never does, but that happens all the time on KH so i ctrlF5 to get around it. well, i ctrl+F5 on the userscript page and it does nothing. doesnt send a request for anything, doesnt load anything, doesnt throw an error in the console, it just literally does nothing. i thought that was odd, so i try opening it in another tab. its just a big blank page. and i mean blank in every sense of the word. nothing in the console, nothing upon refreshing, hell i even looked at the page source and it was just head and body tags with nothing between them.

now, i eventually managed for it to get SOMETHING. but im positive it isnt the entire script. heres a few pictures

and




now as you can see, its included on every page and starts directly on function main()

the main problem is that its included on everything. and i mean EVERYthing. i actually couldnt even write this post with the borked script because it kept adding the script to the post's source everytime i clicked to type. when you log in to kong it hangs at the loading, when you try to load other scripts they break. just no good at all.


I think the problem could be the fact that theres no metadata. like, at all. no includes, no name, nothin.




RE: KongHack Userscript Posted on: 11/15/2014 2:37am
Quote Post
TIM the Enchanter
Level: 1
ADR Info

Java != JavaScript.  They're entirely unrelated.

Are you on a mac?  Looking at your screenshot, it looks like none of your line endings are in place.  The userscript does NOT run on all.

Download the userscript by right-click > save as, open it in Notepad++, then change your line endings around to suit.  You should probably change them to CRLF (Windows) then install the script.





Everything's coming up KongHack!

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

RE: KongHack Userscript Posted on: 11/15/2014 3:05am
Quote Post
The Laziest Man on KongHack
The Ignorant Masses Posted on: 11/14/2014 9:37pm

Are you on a mac?

thenewcomer Posted on: 11/14/2014 8:09pm

TL;DR linkage

OS: Windows 7 64x Ultimate



 




RE: KongHack Userscript Posted on: 11/15/2014 3:20am
Quote Post
TIM the Enchanter
Level: 1
ADR Info


Found it.  CloudFlare, our CDN, was minifying all of the javascript files.  Thing is, the userscript technically IS a javascript file, but minifying it will break it as minifying removes the comments GreaseMoney/TamperMonkey need.

Anyway, I've updated the URL on the home page to reflect a URL that doesn't pass through the CDN.





Everything's coming up KongHack!

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