Detour
06/11/22 04:13AM
LillyTank said:
I don't know if this bug has been brought up before but the translation boxes for this pool aren't resizing to fit the image.
hypnohub.net/index.php?page=pool&s=show&id=4975#



It doesn't seem to be happening for me, if it does pop up again see if there's any errors in the F12 console and if there are any post them here.
LillyTank
06/12/22 05:12PM
DevTools failed to load source map: Could not load content for chrome-extension://fheoggkfdfchfphceeifdbepaooicaho/sourceMap/chrome/scripts/content_scroll_mid_detection.map: System error: net::ERR_BLOCKED_BY_CLIENT


That's the message that appears in the console when I opened a page with TL notes.
Detour
06/13/22 05:33AM
LillyTank said:
That's the message that appears in the console when I opened a page with TL notes.


That's not related to the userscript but I think I've found the issue you're having.

For now the userscript expects your settings to be set to "Always show original images", not doing that can cause issues like the resizing code (and translation notes) to bug out and not work properly.
LillyTank
06/16/22 02:04AM
Is it possible for the script to allow us to block certain images or uploaders using their post ID or username respectively?
hyreader
06/16/22 06:35PM
Maybe a silent access to "hypnohub.net/index.php?page=account&s=profile&uname=USER_TO_BLOCK" to block latest uploads as featured on that page?

But there's probably no perfect solution like if the username just was part of the tooltip infos for a post, thus in that case there would be no need to create an user-side database to update once in a while.
Detour
07/02/22 02:01AM
Update 1.10.0
* Added video borders to the favorites page
* Added the greylist to account options

The greylist is a new feature that will highlight images in the post index and favorites (Will add it to pools later) based on one (or more) lists of tags you specify.

I'll be expanding on the system a bit with the next update as well, hopefully adding the ability to check for tag exclusion rather than inclusion.
SpdWd
07/02/22 10:10AM
If you have no tags in your greylist, every post is highlighted with the orange border - even videos
Detour
07/02/22 02:23PM
Version 1.10.1
Fixed an empty greylist line causing everything to be highlighted instead
hyreader
07/09/22 07:46PM
Recently, I added something in my split of the script, in updatePostList():

let images = document.querySelectorAll(".thumb > a > img");

for(let i = 0; i < images.length; i++) {
if(images[i].getAttribute("title").includes("animated_gif")) {
images[i].style.setProperty("border", "3px solid #00efef");
}
}

This is to tell apart animated gif like how the videos are differentiated. It is done with a cyan border.
Feel free to adapt the concept to your liking.
Detour
07/13/22 05:00PM
Update 1.11.0
Like I promised, here's some improvements to the greylist system.

Most notably I've added support for custom colors and inverted tags, meaning you can now give your rule a custom border color by adding the hex code (Like #ff00ff or #f0f) as the first rule in a line. You can also check if a post doesn't contain a tag by prefixing it with either ! or ~, whichever you prefer.

I've also begun leaning more into using the account options page for optional features, so strictly optional features might be more viable now.

* Moved the greylist to the bottom of the account options page under a new Userscript options header
* Added custom colors and inverted tags to the greylist
* Added toggles for video and animated_gif borders to the userscript options
* Added a toggle that hides any mention of blacklisted posts from the post index, including the button that toggles them

This last option unfortunately doesn't work flawlessly, the blacklisted posts (and the button for toggling them) appear for a brief second before the userscript starts loading, there's not much I can do about this.
Detour
07/14/22 10:28PM
Update 1.12.0
TheMadPrince said:
-Concerning blacklists, would it be possible at all to have them take newlines into account, or otherwise group them? On the old Hub, you could separate blacklisted tags by line to be able to group them together (so for instance, if you wanted to blacklist "malesub" pics, but only if it also didn't contain "femsub", you could have a single separate line featuring just "malesub -femsub").


I know I initially said that this wasn't something I could do, turns out that I was wrong.

Presenting the blacklist replacer, a new option that when enabled implements the same filtering rules that the greylist uses into the blacklist, applying to everywhere the blacklist normally applies to (including searches, like the old site used to do)

* Spoiler formatting now applies to the comment list (Thanks Hypnorgasm for making the problem very obvious)
* Added a new replace blacklist option to account options
Hypnorgasm
07/15/22 11:11AM
Detour said:
* Spoiler formatting now applies to the comment list (Thanks Hypnorgasm for making the problem very obvious)


Heh, glad to be of service!
Detour
08/06/22 06:22PM
Update 1.12.2
Small update this time, noticed an issue with the new blacklist replace system where tags using certain characters (brackets for one) wouldn't get properly matched.

I've also added a new button to the options panel to clear out the cached post list, if you find that the script is running especially slow then you can use this to clear the cache. A more permanent solution for this is being worked on.
Underscore
09/10/22 11:45AM
A feature request:

I've recently noticed a few people talking about the missing "Popular" tab and was thinking maybe that is something that could be added to this?

Essentially just add a button that executes a search for something like this:

id:>x-y id:<x sort:score:desc
(Where x is the latest/newest post id and y is some hard coded average of the amount of posts we have on the site pr. day, week, month and year. Making it an average so as to avoid having to try to get the actual id's for posts made a day, a week, a month or a year ago since I don't think most people care about this feature being 100% time accurate).

Is this something that would be possible?
Detour
09/10/22 07:55PM
Underscore said:
A feature request:

I've recently noticed a few people talking about the missing "Popular" tab and was thinking maybe that is something that could be added to this?

Essentially just add a button that executes a search for something like this:

id:>x-y id:<x sort:score:desc
(Where x is the latest/newest post id and y is some hard coded average of the amount of posts we have on the site pr. day, week, month and year. Making it an average so as to avoid having to try to get the actual id's for posts made a day, a week, a month or a year ago since I don't think most people care about this feature being 100% time accurate).

Is this something that would be possible?


It's an interesting idea, though I'm not sure if I like the idea of having to estimate posts like this.

As an alternative, how does doing it for the last X pages sound?
<<< 7 891011>>>


Reply | Forum Index