General URL Cleaner

Cleans URL's from various popular sites.

< Feedback on General URL Cleaner

Question/comment

§
Posted: 2018-06-10

Request: Add support for Xhamster (NEW DESIGN) related links

It's links in related videos from videos pages.

I am not coder, but i try..... I try to use a script which work, the links are cleaned of the "#mlrelated" part. But when i click these cleaned links, it re-add the "#mlrelated" part to the url opened (Why ? how to remove/change this click event ?): function($) { function removeAllContentTypesFromLinks() { var $a = $('.mixed-list .item.video .thumb-container'); $a.each(function() { var $this = $(this), href = $(this).attr('href').split('#mlrelated')[0]; $this.attr('href', href); }); } removeAllContentTypesFromLinks();

}(jQuery));

Post reply

Sign in to post a reply.