Greasy Fork is available in English.

Discussions » Creation Requests

Simple button hyperlink

Posted: 01-12-2022

Good afternoon, I need to make a tampermonkey with a button that allows a certain page that has an id in the URL to redirect to another that also uses said id in the url. Help please it's for work. Example the page is I need the "11111" to put in ,where it says ID= .
I need help please, i tried but i cant

Posted: 02-12-2022
Edited: 02-12-2022

Something like that:

var path = location.href.split("/");
location.href = `${path[path.length - 1]}&Date+Date=14+day`

for other questions connect me in Discord: or

Post reply

تسجيل الدخول إلى مرحلة ما بعد الرد.