§
يوللانغان ۋاقتى: 2015-06-26

Userscript Assistance

I'm currently in the process of creating a userscript that automatically battles for the user on http://tpkrpg.net/. I'm having trouble though, as their battle system makes use of AJAX, and I can't seem to load battles upon a click with my userscript. Below, I have linked my userscript as well as the RPG's jQuery/AJAX that is used for battling.

Any and all assistance is greatly appreciated.

Here is my script: https://paste.ee/p/eqM0K

Here is the RPG's AJAX: https://paste.ee/p/6IP86

woxxomMod
§
يوللانغان ۋاقتى: 2015-06-26

Do you use a hardcoded ID parameter in your script? I think it's different every time user loads the page so you need to get it from the page.

§
يوللانغان ۋاقتى: 2015-06-26

Do you use a hardcoded ID parameter in your script? I think it's different every time user loads the page so you need to get it from the page.

Unfortunately no, it changes every time the page loads, like you think.

جاۋاب قايتۇرۇش

جاۋاب قايتۇرۇش ئۈچۈن كىرىش.

长期地址
遇到问题?请前往 GitHub 提 Issues。