Sleazy Fork is available in English.

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
总安装量
288
得分
4 0 0
版本
0.36
创建日期
2017-06-05
最近更新
2018-11-28
许可证
暂无
应用到

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]