Sorry for the late responses. I am AFK as my custom title on the left says.
QUOTE(yazer @ Apr 6 2022, 15:07)
I mean how can I prevent re-archiving? can't find the option in script setting.
Not sure what you mean by re-archiving, but the site does not provide a clear indicator and I think it is quite difficult to detect and avoid downloading recreated archives to which free quota does not apply. It also affects way too many galleries and may not work as you would expect.
QUOTE(Jerrk @ Apr 26 2022, 10:02)
I've got a feature suggestion that may be in the purview of this script.
I would like to hide already visited galleries while searching and hide these galleries from said page if they are opened in a new tab or such.
This has been requested before but I don't think there is a good way to do it, partly due to the limitation of userscripts. Hiding already opened galleries can be done in two ways:
- The first way records and saves the gallery ids opened to userscript storage, but the problem here is that the storage used can grow very rapidly for some people and that may affect performance and stuff.
- The second way relies on your browser's native records of visited links instead of userscript storage, but the problem is that such native records can be erased.
Maybe I will actually stress-test the first way or consider the second way when I get to work on the script again. I just don't really have time for it since I became a moderator here, as I have to spend my limited time on moderation instead of coding.
QUOTE(Jerrk @ Apr 26 2022, 10:02)
i've been able to do this in youtube and mangadex since they have an indicator for when a chapter/video is opened which i can use to then hide the entire element with CSS.
since ehentai doesn't have a "read" indicator this is not currently possible from what i understand.
EH does have a read indicator. Visited galleries will have their titles coloured slightly differently in gallery lists. It is indeed not obvious enough and I have a fix for this in the design fixes feature. I think you can use the CSS selector "a:visited .glink, a:active .glink" to select and hide visited galleries for now.