PH - Search & UI Tweaks

Various search filters and user experience enhancers

< Feedback on PH - Search & UI Tweaks

Review: Good - script works

§
Posted: 2020-08-12
Edited: 2020-08-13

Feedback on latest updates: A new issue and a couple of comments/suggestions:

-New thin line with click-to-show and auto-hide UI: EXCELLENT.

-New link manipulation to disable playlist controls on videos opened from playlist pages and to directly jump to user/model video pages: EXCELLENT. The handling of the playlists is now simply perfect. The script works automatically as new videos are added when scrolling down the page. And when you click on a video, the script removes the "&pkey..." from the URL, preventing the playlist controls from appearing and avoiding the autoplay of the next video.

-Support of Pornhub in languages other than english: PERFECT.


-NEW ISSUE: In previous versions, the script could not filter the videos that appear in the "Related videos side bar" (on the right of the screen on "View video" pages).

In fact, it did filter them, but the page finished loading a little later and they appeared again.

That was fixed in the latest versions (starting in 1.15.1), now the script finishes loading last and so the filters work fine.

BUT, as a new problem derived from that, in the process the script filters, the page un-filters and the script filters again (and taps twice the "Load More Related Videos" button) a symbol '#' is added to the url of the page.

For example, take this video:

https://www.pornhub.com/view_video.php?viewkey=ph5f32afd7ccd59

After the script work, the URL is transformed into:

https://www.pornhub.com/view_video.php?viewkey=ph5f32afd7ccd59#

This does not cause any malfunction, neither of the script nor of the page and the video plays perfectly.

But it has the inconvenient that it duplicates all the history, since all the videos that one sees, are saved twice. The first time without the '#' symbol, and then with it. Also, if you entered a video and then click "Back" in the browser to return to the previous page, you must do it twice, since the first time only removes the '#' symbol.

It does this on almost every video page, occasionally on some it does not (I could not determine why). But I have determined that it's the script that causes the addition of '#', since when it is deactivated, it doesn't happen. And specifically what causes the problem is what was added in version 1.15.1, regarding the "related videos recommended on right side bar". Since the problem started from that moment, when the following updates had not been made yet.

Although it is not a serious issue, it would be well worth fixing it, preventing the page from modifying its url after the script's work. In order not to duplicate the history.


-Other suggestions and comments:

-I have been using the blacklist a lot, adding more and more words. It works perfectly. But I realized that for example if I block the word "hooker", the script does not block the word "hookers", which I hoped it would. The same thing happens with "shemale", I don't get videos with that word but I get some where there are 2 shemales, because the plural is not blocked. That means that almost every word you add to the blacklist, you have to add it in singular and in plural. I tried adding an asterisk at the end, for example "hooker*" could block "hooker" and any word that was "hooker+something". But it doesn't work like that. And it would be nice if it did.

-The last line of the code says: "Sidebar porn start listing removal".
I understand that it should be "porn star" and not "porn start", but I don't know if that causes any problem or prevents something from working, since I have those kind of things blocked through adblock too.

Once again (and it will never be enough) thanks brazenvoid for your great work with this script.

brazenvoidAuthor
§
Posted: 2020-08-28

All the issues are fixed now.

As for the Blacklist suggestion, perhaps I can make a plural lib or maybe JS has a plural transform function. I'll look into it.

Post reply

Sign in to post a reply.