Привет, незнакомец!

Похоже, вы здесь новенький. Чтобы принять участие, нажмите одну из кнопок ниже!

help editing a script.

i am trying to edit this script
https://greasyfork.org/en/scripts/370116-kissanime-beta-default-server
to work on
http://kimcartoon.me/
the 2 key differences I can see between the two are,
1. kissanime has a default setting where as kimcartoon does not (for the kissanime script he searches for this string "&s=default" and replaced it with "&s=beta&pfail=2")
2. Kim cartoons beta server has a simpler url at only needing "&s=beta" instead of "&s=beta&pfail=2"

I have tried a few various alterations and even starting from scratch to just make a simple code that whenever I go to a video page it adds that to the url and reloads, but nothing I am doing works. this is also my first time messing with js.
so you get the idea my goal is to change this
http://kimcartoon.me/Cartoon/Marvel-s-Spider-Man-Season-2/Episode-9?id=86044
into this
http://kimcartoon.me/Cartoon/Marvel-s-Spider-Man-Season-2/Episode-9?id=86044&s=beta
automatically.

Войдите или Зарегистрируйтесь чтобы комментировать.