Xhamster - No related Video links (Remove their "#mlrelated" part in address bar) v.0.36

Remove "#mlrelated" part in address bar (when you open a related video from the Video page)

Penulis
janvier56
Pemasangan harian
0
Total pemasangan
293
Nilai
4 0 0
Versi
0.36
Dibuat
05 Juni 2017
Diperbarui
28 November 2018
Lisensi
N/A
Berlaku untuk

For The NEW Desidn of Xhamster Design (since 05.2017)

Modify Related Links on the video player page:
split the "?from=video_related" at the end on them so you have a clean bookmarkable link and don't foolish your visited links .....
Thanks to phlegomatic:
But if you just want to delete the #related in the address you could just collect the current link, remove #related, and then go to there.


I don't know why but, randomly, Xhamster use 2 sort of links about their related videos:
- OLD links
Before:
https://xhamster.com/movies/6063809/xsml_svelte_white_vs_xxxl_bbc.html?from=video_related
After:
https://xhamster.com/movies/6063809/xsml_svelte_white_vs_xxxl_bbc.html

- New related links:
For NEW videos links (they change "/movies/" by "/videos/":
Before:
https://xhamster.com/videos/tout-dans-mon-petit-trou-4121315?from=video_related
After:
https://xhamster.com/videos/tout-dans-mon-petit-trou-4121315

Idea from:
jquery to modify a link [stackoverflow]