Welcome Guest ( Log In | Register )

12 Pages V « < 4 5 6 7 8 > »   
Reply to this topicStart new topic
> Mayriad's EH Master Script, Adds Dozens of Features to E-Hentai - Latest Release: v2.2.2 on 20 November 2022

 
post Mar 26 2021, 10:51
Post #101
Mayriad



SUPER ★ BUSY ★ TIME
*******
Group: Global Mods
Posts: 2,061
Joined: 18-December 10
Level 135 (Lord)


A general apology for not attending to this thread. I was very busy in real life and only started to get some free time this week.

QUOTE(shamashii @ Feb 21 2021, 14:30) *
Is there any plan add a button or some what that can one-click on thumb in gallary to download original image, because sometime I don't want to download whole gallary archive, only some of it, have to click thumb into ppt-slide page and click download original image on bottom.
The process discribed above have 1 page into, 2 mouse clicks to save an original image, which I want to one-click, thank you.

This is technically doable, but probably not a great feature request. It seems to be a very specific and personal request, and I don't think many other people will find it useful. I cannot add this feature just for you, unless other users show up to support this request.

QUOTE(mewto51 @ Mar 25 2021, 13:07) *
I think this script breaks the Clickable external URLs.

EH Gallery Quick Favourite
v2.2.0
https://forums.e-hentai.org/index.php?act=A...t&id=122954

https://forums.e-hentai.org/index.php?showt...p;#entry4493891
any solution.

Cannot replicate. That script did not break the feature when I tested. Can you provide more information and some examples? Perhaps you have some other problematic userscript(s) installed?

User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 20 2021, 20:05
Post #102
diyer



Newcomer
**
Group: Members
Posts: 51
Joined: 15-January 14
Level 238 (Godslayer)


thank you Mayriad! Could you add compatible with EhViewer?
A Application for Android, it can export a download list as a sqlite( .db ) database file.
[gitlab.com] https://gitlab.com/NekoInverter/EhViewer

Could I start downloading multiple gallery metadata at e-hentai.org/e-hentai.org and export some file to EhViewer?

the code need check may in here: [gitlab.com] https://gitlab.com/NekoInverter/EhViewer/-/...iewer/EhDB.java

Sorry, english isn't my native language. If any words wrong, forgive me.
Thank you for all your work! (IMG:[invalid] style_emoticons/default/smile.gif)

This post has been edited by diyer: Jul 20 2021, 20:24
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 22 2021, 06:33
Post #103
Amaduyu Mitsumi



Active Poster
*******
Group: Gold Star Club
Posts: 1,609
Joined: 2-October 11
Level 500 (Godslayer)


Firstly, thank you for this wonderful script. The ability to auto download a whole page of result with GID/GT embedded in filename helps a lot with my archiving process.

I just have a suggestion, specifically for people on Windows and using Firefox.
Open the script, navigate to function downloadUsingApi and edit as below:

CODE
      let formattedName = replaceIllegalCharacters(filename)
      // The filename change below will not work on Chromium browsers because they always respect the response headers.
      const extensionSplit = formattedName.match(/(.+?)(\.zip|\.torrent)$/)
      if (extensionSplit[1].length > 200) {
          extensionSplit[1] = extensionSplit[1].substring(0, 199) + '_';
      }
      if (extensionSplit[2] === '.zip' && shortcuts.appendIdentifiersEnabled) {
        const identifiers = galleryDownloadButton.gallery.match(/e(?:-|x)hentai\.org\/g\/(\d+)\/([0-9a-z]+)/)
        formattedName = `${extensionSplit[1]} [GID ${identifiers[1]} GT ${identifiers[2]}]${extensionSplit[2]}`
      }


What that does is cropping the archive filename if longer than 200 characters (before adding GID and GT of course).
That small adjustment is needed because I found that the script was trying and failing to download archives with very long filename due to Windows path length limitation,
until further attempts get rejected by the server at which point I see the "IP quota exhausted." error when I try to download manually.
I have not tried this fix on Chrome, but according to the comment at the beginning it probably won't work.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Oct 25 2021, 22:40
Post #104
Mayriad



SUPER ★ BUSY ★ TIME
*******
Group: Global Mods
Posts: 2,061
Joined: 18-December 10
Level 135 (Lord)


Firstly a general notice: This project is still very much alive. I have been terribly busy this year and I am also prioritising the development of another script, so I have not had the time to work on this. Eventually I will return to this to add new stuff once the other script is finished.

QUOTE(Amaduyu Mitsumi @ Sep 22 2021, 06:33) *
What that does is cropping the archive filename if longer than 200 characters (before adding GID and GT of course).
That small adjustment is needed because I found that the script was trying and failing to download archives with very long filename due to Windows path length limitation,
until further attempts get rejected by the server at which point I see the "IP quota exhausted." error when I try to download manually.

Ah, I think I never had a problem like that because I have long filename support enabled on Windows. I totally forgot about this potential problem and I will add an option about it in the next update. Before that, users can try the long filename support I mentioned, because I think it is a good feature in general.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 27 2021, 06:45
Post #105
Juggernaut Santa



Living in HV 0.83 until Tenboro adds the Tower to Persistent
***********
Group: Gold Star Club
Posts: 11,132
Joined: 26-April 12
Level 500 (Ponyslayer)


The script keeps activating randomly Dark Mode on my e-hentai gallery pages even if I have the setting disabled.
Even if I try to enable Light Mode, it still keeps showing dark mode every other refresh.

This happens with the latest version of Firefox.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Dec 31 2021, 14:22
Post #106
GO_KENTA



Newcomer
**
Group: Members
Posts: 60
Joined: 18-November 13
Level 224 (Lord)


Violentmonkey on Firefox doesn't seem to apply most of the settings, especially the dark/light themes which are what I'm looking for. I tried another userscript manager (Firemonkey) and it works but I don't feel like dropping good ol' Violentmonkey, any way to make it work or is it hopeless?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 1 2022, 12:30
Post #107
Mayriad



SUPER ★ BUSY ★ TIME
*******
Group: Global Mods
Posts: 2,061
Joined: 18-December 10
Level 135 (Lord)


Ah, I missed Santa's post when I was inactive:
QUOTE(Juggernaut Santa @ Nov 27 2021, 04:45) *
The script keeps activating randomly Dark Mode on my e-hentai gallery pages even if I have the setting disabled.
Even if I try to enable Light Mode, it still keeps showing dark mode every other refresh.

Have you tried removing and reinstalling the userscript? If that does not help then I can only repeat this:
QUOTE(mayriad @ Jun 20 2020, 19:07) *
Wow, your Tampermonkey sounds completely broken.


QUOTE(GO_KENTA @ Dec 31 2021, 12:22) *
Violentmonkey on Firefox doesn't seem to apply most of the settings, especially the dark/light themes which are what I'm looking for. I tried another userscript manager (Firemonkey) and it works but I don't feel like dropping good ol' Violentmonkey, any way to make it work or is it hopeless?

I don't think I can do anything with the userscript engine, so I cannot fix this. By the way, have you enabled the Firefox compatibility option in the master script settings?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 2 2022, 05:54
Post #108
GO_KENTA



Newcomer
**
Group: Members
Posts: 60
Joined: 18-November 13
Level 224 (Lord)


QUOTE(Mayriad @ Jan 1 2022, 11:30) *
I don't think I can do anything with the userscript engine, so I cannot fix this. By the way, have you enabled the Firefox compatibility option in the master script settings?
I have now and the dark theme finally works, thank you!
Are you still working on the userscipt or is this the final version?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 23 2022, 11:37
Post #109
Juggernaut Santa



Living in HV 0.83 until Tenboro adds the Tower to Persistent
***********
Group: Gold Star Club
Posts: 11,132
Joined: 26-April 12
Level 500 (Ponyslayer)


I already had to reinstall all scripts from scratch after a settings reset.

So both my Tampermonkey and script should be fresh installed :/

My FF profile is not fresh though, idk if that does anything.

This post has been edited by Juggernaut Santa: Jan 23 2022, 11:37
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 14 2022, 12:36
Post #110
saboshita



Casual Poster
***
Group: Gold Star Club
Posts: 136
Joined: 21-February 20
Level 500 (Ponyslayer)


I have an addon downloader for my firefox unfortunately this script uses built-in browser downloader. Is there a way to use my prefered downloader over the built-in one?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 14 2022, 12:41
Post #111
Mayriad



SUPER ★ BUSY ★ TIME
*******
Group: Global Mods
Posts: 2,061
Joined: 18-December 10
Level 135 (Lord)


QUOTE(saboshita @ Mar 14 2022, 10:36) *
I have an addon downloader for my firefox unfortunately this script uses built-in browser downloader. Is there a way to use my prefered downloader over the built-in one?

Not possible. There is only so much a userscript can do.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 15 2022, 08:47
Post #112
saboshita



Casual Poster
***
Group: Gold Star Club
Posts: 136
Joined: 21-February 20
Level 500 (Ponyslayer)


In the main galleries page when you have certain filters like hidden tags (are there other filters?) is it possible to temporarily disable all filters and show every gallery available on the site? Can you implement such a function? It would be handy in a situation where you want to make sure you're not missing any material of an artist.

I actually found out you can disable your filter tags in advanced options on the main page, however you still need to do 3 clicks and then hide the advanced options so not super comfortable.

This post has been edited by saboshita: Mar 15 2022, 09:25
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 15 2022, 11:23
Post #113
Mayriad



SUPER ★ BUSY ★ TIME
*******
Group: Global Mods
Posts: 2,061
Joined: 18-December 10
Level 135 (Lord)


QUOTE(saboshita @ Mar 15 2022, 06:47) *
In the main galleries page when you have certain filters like hidden tags (are there other filters?) is it possible to temporarily disable all filters and show every gallery available on the site? Can you implement such a function?

Not possible. Those built-in filters are only controlled by the search engine and, as you may have noticed, switching them on/off requires the search be re-run.

Edit: Modifying the query string may be a possible solution but I am not sure about this.

This post has been edited by Mayriad: Mar 15 2022, 15:55
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 15 2022, 13:26
Post #114
saboshita



Casual Poster
***
Group: Gold Star Club
Posts: 136
Joined: 21-February 20
Level 500 (Ponyslayer)


Maybe then you could implement your own filter system in your script, where one could enter their own tags so that they don't see galleries with certain content. But on a rare occasion toggle between filter/unfilter modes and there won't be a reload page problem since the filtered galleries will be there but will be just hidden.
There are a lot of options in the script you can hide comments, select the minimum amount of seeders to download a torrent, there are even filter settings but I couldn't find the functionality I talked about above.
You know actually there are 3rd pary scripts that operate with filtered tags I will try to find the ones that work with Eh master script.

This post has been edited by saboshita: Mar 15 2022, 13:29
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 15 2022, 14:21
Post #115
Mayriad



SUPER ★ BUSY ★ TIME
*******
Group: Global Mods
Posts: 2,061
Joined: 18-December 10
Level 135 (Lord)


QUOTE(saboshita @ Mar 15 2022, 11:26) *
Maybe then you could implement your own filter system in your script, where one could enter their own tags so that they don't see galleries with certain content. But on a rare occasion toggle between filter/unfilter modes and there won't be a reload page problem since the filtered galleries will be there but will be just hidden.

Or maybe then I could implement a system that magically prints money. Userscript (and software development in general) is not black magic and it is not like you just make whatever feature you want.

As you may or may not already know, my script already has exactly what you talked about here, except that my filters don't filter by tag. Filtering by tag is significantly more complicated because you will have to fetch data from EH API and stuff to allow this feature to work in all five display modes. The only difference from the built-in feature is the ability to toggle the filters without reloading the page, and that requires too much work for its worth. You are the only one requesting this.

QUOTE(saboshita @ Mar 15 2022, 11:26) *
You know actually there are 3rd pary scripts that operate with filtered tags I will try to find the ones that work with Eh master script.

There were. Third-party tag filtering scripts were actually needed before the site provided built-in tag filtering; I don't think anyone would bother to update old scripts or develop new ones now to make an inferior version of a feature provided by the site.

Edit:
QUOTE(saboshita @ Mar 15 2022, 06:47) *
It would be handy in a situation where you want to make sure you're not missing any material of an artist.

If you want to always disable your tag filters for specific artists, you can already do so by setting appropriate tag weights and thresholds in the built-in system. This way you will not even need to toggle the filters on/off.

This post has been edited by Mayriad: Mar 15 2022, 14:49
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 15 2022, 15:14
Post #116
saboshita



Casual Poster
***
Group: Gold Star Club
Posts: 136
Joined: 21-February 20
Level 500 (Ponyslayer)


QUOTE
As you may or may not already know, my script already has exactly what you talked about here, except that my filters don't filter by tag.

When what does it filter by, a title name? (IMG:[invalid] style_emoticons/default/laugh.gif)
You know I actually understand that in order to do what I suggested (tag filter system) your script will have to basically open every gallery and get every single tag of it. It would indeed cause too many requests and so on.
But what about the other option? Adding a button that toggles between disabling/enabling filter modes?Attached Image

This post has been edited by saboshita: Mar 15 2022, 15:39
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 15 2022, 15:46
Post #117
saboshita



Casual Poster
***
Group: Gold Star Club
Posts: 136
Joined: 21-February 20
Level 500 (Ponyslayer)


Another thing, when browsing galleries by an artist there are many duplicates of the same doujinshis/manga, manually choosing the best (probably the highest quality one between them, maybe in english too but I don't care too much about the latter) and then downloading it is tiresome. Is there any workaround to download only the preffered one over the others? How do you manage this process?

This post has been edited by saboshita: Mar 15 2022, 15:47
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 15 2022, 16:08
Post #118
Mayriad



SUPER ★ BUSY ★ TIME
*******
Group: Global Mods
Posts: 2,061
Joined: 18-December 10
Level 135 (Lord)


QUOTE(saboshita @ Mar 15 2022, 13:14) *
But what about the other option? Adding a button that toggles between disabling/enabling filter modes?

As the documentation says, this script is my personal project and I am not prepared to add every little thing others want to have. In your case, I cannot add something to my script just for you to save you two clicks. Also, can you not just do this below?
QUOTE(Mayriad @ Mar 15 2022, 12:21) *
If you want to always disable your tag filters for specific artists, you can already do so by setting appropriate tag weights and thresholds in the built-in system. This way you will not even need to toggle the filters on/off.


QUOTE(saboshita @ Mar 15 2022, 13:46) *
Another thing, when browsing galleries by an artist there are many duplicates of the same doujinshis/manga, manually choosing the best (probably the highest quality one between them, maybe in english too but I don't care too much about the latter) and then downloading it is tiresome. Is there any workaround to download only the preffered one over the others? How do you manage this process?

Again, it will require black magic to decide what should be preferred over the others. It is subjective and technically difficult to decide what constitutes the best version; assessing and comparing image quality alone is a technical challenge and it becomes impossible when translations are involved. Multiple versions co-exist precisely because people cannot decide what is the best one that should be kept.

I think it is meaningless to pick the best version and I would just download everything, because a better version can be uploaded in future and the best version today may not be the best tomorrow. If you still want to download the "best" ones, then you can only manually check and decide which ones you like the most.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 15 2022, 16:57
Post #119
saboshita



Casual Poster
***
Group: Gold Star Club
Posts: 136
Joined: 21-February 20
Level 500 (Ponyslayer)


QUOTE
If you want to always disable your tag filters for specific artists, you can already do so by setting appropriate tag weights and thresholds in the built-in system. This way you will not even need to toggle the filters on/off.

Let's say I have 100 artists, I will need to manually add each of them. And even if it's done by a click there are many more artists that I don't know the existence of yet, but I will - once I find them by browsing galleries. I think it's a natural process for everyone, you can't list every single artist, or onlly find them tomorow.

This post has been edited by saboshita: Mar 15 2022, 17:06
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 16 2022, 07:12
Post #120
saboshita



Casual Poster
***
Group: Gold Star Club
Posts: 136
Joined: 21-February 20
Level 500 (Ponyslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


12 Pages V « < 4 5 6 7 8 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 4th April 2025 - 17:58