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)

Tác giả
janvier56
Cài đặt hàng ngày
0
Số lần cài đặt
293
Đánh giá
4 0 0
Phiên bản
0.36
Đã tạo
05-06-2017
Đã cập nhật
28-11-2018
Giấy phép
N/A
Áp dụng cho

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]