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)

ავტორი
janvier56
დღიური ინსტალაციები
0
მთლიანი ინსტალაციები
293
რეიტინგი
4 0 0
ვერსია
0.36
შექმნილია
05.06.2017
განახლებულია
28.11.2018
ლიცენზია
პ/გ
გამოყენებს მათ

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]