 |
 |
 |
Mayriad's EH Master Script, Adds Dozens of Features to E-Hentai - Latest Release: v2.2.2 on 20 November 2022 |
|
Mar 16 2022, 11:50
|
Mayriad
Group: Global Mods
Posts: 2,061
Joined: 18-December 10

|
QUOTE(saboshita @ Mar 16 2022, 05:12)  Another suggestions add the ability to choose multiple galleries to download simply by checking a mark next to a gallery. This makes a queue but instead of downloading all the galleries you only download the ones you chose
Just click the existing individual download buttons then. This seems to be another rather unnecessary feature requested just to aid your particular use case a tiny little bit. This kind of request will not go through here and you should consider hiring a software developer or making it yourself. I am not a software developer and I only learnt JavaScript from coding this script, so you can try the same. QUOTE(Mayriad @ Mar 15 2022, 14:08)  As the documentation says, this script is my personal project and I am not prepared to add every little thing others want to have.
QUOTE(Mayriad @ Mar 15 2022, 12:21)  You are the only one requesting this.
This post has been edited by Mayriad: Mar 16 2022, 11:58
|
|
|
|
 |
|
Mar 16 2022, 15:32
|
saboshita
Group: Gold Star Club
Posts: 136
Joined: 21-February 20

|
You say I'm in minority but can it be that vast majority of users just don't bother contacting you to request features? Maybe if you suddenly removed half of your script functions they wouldn't be bothered either and continued to use the script. What I'm trying to say my requests might only look unappropriate and unwelcomed on the first glance but people will actually use it, cause the idea behind it is not that bad: Atm we can download everything or we can download by choosing a certain gallery by clicking, clicking (it takes too much time - you have to manually hover then click then wait for it to finish and repeat untill done) and there is nothing in between. And my suggestion is in between: 1 choose what you want to download beforehand by check marking 2 download checked galleries by a single click
This post has been edited by saboshita: Mar 16 2022, 15:39
|
|
|
|
 |
|
Mar 16 2022, 16:49
|
Mayriad
Group: Global Mods
Posts: 2,061
Joined: 18-December 10

|
QUOTE(saboshita @ Mar 16 2022, 13:32)  You say I'm in minority but can it be that vast majority of users just don't bother contacting you to request features?
If you read this thread you will see that users contact me to request features, changes and help all the time. Sometimes people ask on GitHub and 4chan, too. Your feature requests are really niche and cost-ineffective, and nobody has talked about things like yours. QUOTE(saboshita @ Mar 16 2022, 13:32)  Maybe if you suddenly removed half of your script functions they wouldn't be bothered either and continued to use the script.
Yeah I am sure they would not be bothered, because they can just grab an earlier version from the GitHub repo, a GitHub fork by someone else or the GitHub Arctic Code Vault. It is open source. QUOTE(saboshita @ Mar 16 2022, 13:32)  What I'm trying to say my requests might only look unappropriate and unwelcomed on the first glance but people will actually use it, cause the idea behind it is not that bad:
I don't know why you are so confident that others also need your feature, but I must remind you again that script features don't code themselves and I am not going to work on every little thing others want to have, since it is a personal project I made for myself. You are still mistaking me for an angel. The idea behind a feature that magically prints money (e.g. crypto) is also not that bad and I am sure people will actually use it, but no one is going to figure out how to make it happen.
|
|
|
|
 |
|
Mar 16 2022, 21:01
|
saboshita
Group: Gold Star Club
Posts: 136
Joined: 21-February 20

|
ok then have a nice dy, surpiaed you so patient
|
|
|
Apr 6 2022, 08:58
|
yazer
Newcomer
 Group: Members
Posts: 28
Joined: 15-August 10

|
"downloading archive still cost your GP"
So if I have some free quota, this script will use the quota 1st then cost GP to download if the quota run out right?
|
|
|
Apr 6 2022, 10:39
|
Kagoraphobia
Group: Global Mods
Posts: 11,741
Joined: 12-August 19

|
QUOTE(yazer @ Apr 6 2022, 06:58)  "downloading archive still cost your GP"
So if I have some free quota, this script will use the quota 1st then cost GP to download if the quota run out right?
The gallery archive system will always use your free quota first if available, then GP if not. This is not something that can be changed from the user's end AFAIK. You can use scripts to prevent archiving when it is not free, but that's basically it.
|
|
|
|
 |
|
Apr 6 2022, 17:07
|
yazer
Newcomer
 Group: Members
Posts: 28
Joined: 15-August 10

|
QUOTE(PrincessKaguya @ Apr 6 2022, 11:39)  The gallery archive system will always use your free quota first if available, then GP if not. This is not something that can be changed from the user's end AFAIK. You can use scripts to prevent archiving when it is not free, but that's basically it.
How can I prevent downloading when my quota is used up? edit: I mean how can I prevent re-archiving? can't find the option in script setting. This post has been edited by yazer: Apr 7 2022, 04:55
|
|
|
|
 |
|
Apr 26 2022, 12:02
|
Jerrk
Newcomer
 Group: Members
Posts: 47
Joined: 8-July 12

|
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.
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.
|
|
|
|
 |
|
May 2 2022, 00:30
|
Mayriad
Group: Global Mods
Posts: 2,061
Joined: 18-December 10

|
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.
|
|
|
|
 |
|
May 2 2022, 05:41
|
kgptzac
Lurker
Group: Recruits
Posts: 8
Joined: 5-August 15

|
I just want to say thanks! For a long time I wanted fit images to fit my screen, and before today I thought it was impossible.
|
|
|
|
 |
|
May 19 2022, 10:53
|
Jerrk
Newcomer
 Group: Members
Posts: 47
Joined: 8-July 12

|
QUOTE(Mayriad @ May 2 2022, 00:30)  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.
I tried doing this before i typed up the comment but from what i found this is not possible since it will only allow you to style the link and not use the a:visited property to hide a parent. i.e CODE div.gl1t:has(a:visited .glink) does not work, but since mangadex has a read indicator this CSS does work: CODE .chapter-feed__container:not(:has(.feather-eye)) Unless i'm completely missing something this does not seem possible [ www.impressivewebs.com] https://www.impressivewebs.com/styling-visited-links/
|
|
|
|
 |
|
Aug 29 2022, 07:52
|
DoggyThicc
Group: Members
Posts: 112
Joined: 11-October 17

|
How can I make the code that starts at line 5131 be applied properly? (IMG:[ i.imgur.com] https://i.imgur.com/qbT3Jnx.png) I changed the width size a bit to make fit perfectly with the zoom level I use. But I can't figure out how to make the script apply the code to the site properly. Yes... I'm a bottom of the barrel noob on this, but I really want to learn a bit more. Thank you!
|
|
|
Nov 2 2022, 23:53
|
Pamlau
Lurker
Group: Recruits
Posts: 5
Joined: 13-December 18

|
uh oh, apparently the recent interface update on e-hentai.org kinda broke it
This post has been edited by Shank: Nov 3 2022, 00:25
|
|
|
Nov 6 2022, 16:02
|
Deprun
Newcomer
  Group: Members
Posts: 86
Joined: 3-October 14

|
QUOTE(Pamlau @ Nov 3 2022, 04:53)  uh oh, apparently the recent interface update on e-hentai.org kinda broke it
Yep, seems like it.
|
|
|
|
 |
|
Nov 7 2022, 23:25
|
Mayriad
Group: Global Mods
Posts: 2,061
Joined: 18-December 10

|
Welp, sorry for the lack of activity from me in this thread. I spend all my (limited) time here on moderation. QUOTE(Jerrk @ May 19 2022, 08:53)  I tried doing this before i typed up the comment but from what i found this is not possible since it will only allow you to style the link and not use the a:visited property to hide a parent. i.e CODE div.gl1t:has(a:visited .glink) does not work, but since mangadex has a read indicator this CSS does work: CODE .chapter-feed__container:not(:has(.feather-eye)) Unless i'm completely missing something this does not seem possible [ www.impressivewebs.com] https://www.impressivewebs.com/styling-visited-links/I discovered shortly after your message that browsers now restrict the use of the ":visited" selector due to the privacy risk it poses, so yeah you cannot do things to visited links now, unless the site indicates such links explicitly in the HTML like MangaDex. QUOTE(BeetchFagget @ Aug 29 2022, 05:52)  How can I make the code that starts at line 5131 be applied properly? (IMG:[ i.imgur.com] https://i.imgur.com/qbT3Jnx.png) I changed the width size a bit to make fit perfectly with the zoom level I use. But I can't figure out how to make the script apply the code to the site properly. Yes... I'm a bottom of the barrel noob on this, but I really want to learn a bit more. Thank you! I would like to help but I have no idea what you need help with. Please be more specific. QUOTE(Pamlau @ Nov 2 2022, 21:53)  uh oh, apparently the recent interface update on e-hentai.org kinda broke it
QUOTE(Deprun @ Nov 6 2022, 14:02)  Yep, seems like it.
Worry not, an update to this userscript is basically ready to be released, and I am just waiting for Tenboro to conclude the current site upgrade. This script has not been updated for almost two years and this update does all the catch-up required up to today. It does not add any new feature at the moment but still took me quite some time.
|
|
|
|
 |
|
Nov 8 2022, 00:47
|
Pamlau
Lurker
Group: Recruits
Posts: 5
Joined: 13-December 18

|
QUOTE(Mayriad @ Nov 7 2022, 23:25)  Welp, sorry for the lack of activity from me in this thread. I spend all my (limited) time here on moderation. I discovered shortly after your message that browsers now restrict the use of the ":visited" selector due to the privacy risk it poses, so yeah you cannot do things to visited links now, unless the site indicates such links explicitly in the HTML like MangaDex. I would like to help but I have no idea what you need help with. Please be more specific. Worry not, an update to this userscript is basically ready to be released, and I am just waiting for Tenboro to conclude the current site upgrade. This script has not been updated for almost two years and this update does all the catch-up required up to today. It does not add any new feature at the moment but still took me quite some time.
I love you.
|
|
|
|
 |
|
Nov 9 2022, 00:31
|
kiwino
Group: Members
Posts: 341
Joined: 21-November 16

|
QUOTE(Mayriad @ Nov 8 2022, 06:25)  This script has not been updated for almost two years and this update does all the catch-up required up to today. It does not add any new feature at the moment but still took me quite some time.
I just notice the title, that last update was 2 years ago. So your masterscript wasn’t affected by 2021 change? (IMG:[ invalid] style_emoticons/default/cool.gif) Well that’s cool. Hiding already rated gallery is something I desperately need. Bless you for that. QUOTE(Mayriad @ Nov 8 2022, 06:25)  I discovered shortly after your message that browsers now restrict the use of the ":visited" selector due to the privacy risk it poses, so yeah you cannot do things to visited links now, unless the site indicates such links explicitly in the HTML like MangaDex.
aw shucks. But if the problem is browser maybe it could work in old browsers? Sorry I don’t follow the conversation above but afaik your script never had feature to hide visited gallery, just highlights it.
|
|
|
|
 |
|
Nov 15 2022, 00:04
|
Pamlau
Lurker
Group: Recruits
Posts: 5
Joined: 13-December 18

|
any news?
|
|
|
|
 |
|
Nov 18 2022, 00:21
|
Mayriad
Group: Global Mods
Posts: 2,061
Joined: 18-December 10

|
QUOTE(Pamlau @ Nov 14 2022, 22:04)  any news?
Ah, finally the site update is fully deployed. People are still busy discussing it, but I guess it is final now. I will have a look again and push the script update tomorrow. QUOTE(kiwino @ Nov 8 2022, 22:31)  aw shucks. But if the problem is browser maybe it could work in old browsers? Sorry I don’t follow the conversation above
Jerrk wanted to hide entire elements with CSS. MangaDex has explicit elements that help him identify visited links, which EH does not have. The CSS selector I gave him was the one needed to identify such links in a generic way, but it no longer works today. It will likely still work in older browsers as you mentioned. QUOTE(kiwino @ Nov 8 2022, 22:31)  but afaik your script never had feature to hide visited gallery, just highlights it.
EH already highlights visited galleries but the highlight colours are not distinct enough, and my script only had a sub-feature to use more distinct colours instead. As for a feature to hide those galleries, I explained the two ways to do it and why it cannot be easily done in my reply to Jerrk. One of these two ways uses the CSS selector above and is no longer feasible.
|
|
|
|
 |
|
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:
|
 |
 |
 |
|