Dyskusje » Propozycje stworzenia skryptu/stylu
[Pahe.in] Force opening download buttons (GD, MG, UTB etc) in new tab
Bump
Just to give a small help
This is the script that is protecting the link and making it be opened in the same page
https://pastebin.com/waEGRh5T
The download links aren't opened using a html link elements, instead they use event listeners what makes it hard to grab and interact/modify the links.
Also, it does not rely on the click event listener, instead it works relying on the mouse up and down event listeners.
Good luck!
Pahe TV Shows & Movies site download buttons (GD, MG, UTB, etc) will open in the same tab when clicked with no option to open them in a new tab. Even right-clicking for the context menu just opens the link as normal.
So basically I'm asking if someone can create a script where you can force opening links in new tabs and ignore the behavior the site itself dictates?
Note: The site is changing its domain constantly but the main domain is pahe.in