Read the rules before proceeding!

Topic: RE621 [v.1.4.29] Feature-packed toolkit and mass downloader for e621

Posted under e621 Tools and Applications

So this is pretty cool: A simple work-around is using the 'press Shift on the thumbnail to preview image' feature to see it. So even though the system will blacklist it on the post and pool pages, you can still see the image if you just preview it like that. A handy feature on its own, but now it's useful for a new reason :]

Speaking of which, one other thing that might be cool is 'press Shift multiple times to cycle through zoom-in levels of the full image,' like you can do when on the actual image screen by clicking it. That'd be great for some images because sometimes they just aren't big enough (especially if they've got text/dialogue). It could even potentially lead to folks opting to just preview everything instead of opening a hundred tabs. Interesting to think about~

Updated

bitWolfy

Privileged

human-shaped said:
Speaking of which, one other thing that might be cool is 'press Shift multiple times to cycle through zoom-in levels of the full image,' like you can do when on the actual image screen by clicking it. That'd be great for some images because sometimes they just aren't big enough (especially if they've got text/dialogue). It could even potentially lead to folks opting to just preview everything instead of opening a hundred tabs. Interesting to think about~

I'll consider it. The way the script detects a shift key being pressed is really janky at the moment, and I do really need to take another look at it at some point.

bitWolfy

Privileged
Patch 1.4.27

Changes
- Added an option to only download the current page of favorites instead of all of them at once
- Added an option to redirect post history tag links to corresponding wiki pages
- Added an option to reveal a blacklisted image by clicking on it on the individual post page

Fixes
- Fixed the incorrect offset on the note previews
- Added an extra check to hover zoom to make sure that the post has a sampled version
- Replaced jquery.hotkeys library source to fix a "missing map" warning in the console

I was doing some tests with asterisks between the search and the blacklist. So in the blacklist with the userscript active, exceptions with asterisks work by letting the thumbnails through but still blacklisting the images when clicked (which is fine because of the preview feature workaround). So in the blacklist if you have 'things -*_stuff' , the site will show thumbnails where 'things' appears with every variation of '_stuff'. Big_stuff, small_stuff, lots_of_stuff, etc.

Now in the search bar, running an asterisk search will also work, but apparently it won't work while also using tildes. These things (~). All this time I've been calling them squiggles, haha. I was trying to be clever by getting the most out of the 40 search limit by using asterisks along with my usual 'tilde a bunch of favorite tags and bookmark that search' preference, but apparently none of the asterisk ones were getting searched. So running a search like '~*_stuff' along with other tilde tags, only the non-asterisk ones get searched. I just didn't notice it until now, haha~

Is having that sort of thing work possible, or do you think I should just not have asterisks in my tilde searches? Thanks again. Sorry if I post too often :]

Updated

bitWolfy

Privileged

human-shaped said:
I was doing some tests with asterisks between the search and the blacklist. So in the blacklist with the userscript active, exceptions with asterisks work by letting the thumbnails through but still blacklisting the images when clicked (which is fine because of the preview feature workaround). So in the blacklist if you have 'things -*_stuff' , the site will show thumbnails where 'things' appears with every variation of '_stuff'. Big_stuff, small_stuff, lots_of_stuff, etc.

The site's native blacklist just does not support wildcards, much like the meta-tags I mentioned before. It's something that I wrote myself.
It will eventually get applied to the rest of the site, but not just yet.

human-shaped said:
Now in the search bar, running an asterisk search will also work, but apparently it won't work while also using tildes. These things (~). All this time I've been calling them squiggles, haha. I was trying to be clever by getting the most out of the 40 search limit by using asterisks along with my usual 'tilde a bunch of favorite tags and bookmark that search' preference, but apparently none of the asterisk ones were getting searched. So running a search like '~*_stuff' along with other tilde tags, only the non-asterisk ones get searched. I just didn't notice it until now, haha~

That seems like a site bug. While it's possible that wildcards * are not supported in optional ~ tags for the sake of performance, I have my doubts about that. Should probably be brought up in the general bug thread, so it can actually be fixed.
I cannot do anything with the query builder, since it's all done server-side.

human-shaped said:
Thanks again. Sorry if I post too often :]

I do not mind at all. Your input is most appreciated.

Updated

bitWolfy

Privileged
Patch 1.4.28

Changes
- Added a progress tracker, which highlights posts that you have not seen yet
- Highlighted blacklisted posts that have not been filtered out in red
- Added filter comparison type aliases, to match the site's native functionality
- Fixed a bug that caused post lookup to fail if searching for a tag containing a percentage sign

bitwolfy said:
In the toolbar under the image, there is a button that says "Notes: OFF". Does setting it to "ON" fix this issue?

Ahhh, probably having that on would help hahaha.

Thanks for the help

bitWolfy

Privileged

itskilroy said:
Ahhh, probably having that on would help hahaha.

Thanks for the help

No problem.

I sure am glad that it's an easy fix.

Problem solved! Thanks for pointing me to that bug thread. Apparently using a tilde on an asterisk tag is redundant because the asterisk by itself is basically a 'multi-tilde' already. So using them together does nothing xD

Good to know it was my own goof and not some bug :]

bitWolfy

Privileged

krabitz said: Progress tracker? GENIUS

Kira pitched the idea to me, so I put it into the script. Seems pretty useful to me.

human-shaped said:
Problem solved! Thanks for pointing me to that bug thread. Apparently using a tilde on an asterisk tag is redundant because the asterisk by itself is basically a 'multi-tilde' already. So using them together does nothing xD

Yeah, I saw. It's a strange way to make wildcards function in my opinion, but I guess it's good enough.

I'm not sure the install link is working. I have the latest version of Tampermonkey on firefox and after clicking the install link nothing happens. If I open it in a new window, I just get a blank page. And, if I try to install it from the link directly in Tampermonkey utilities, I just get an endless "Please wait...".

:(

EDIT: Nevermind, I was in a private window but Tampermonkey was opening the install tab on a regular window. No problems installing it.

Updated

So these are doable on the normal site and probably already known about, but I didn't know about them until today. Number 2 has some relation to the 'thumbnails visible but not images' problem, so I'll post here~

1.) You can use more than one asterisk for a double-sided wildcard in the search. So searching *tag* gives you every variation. Both the *_tags and tags_* will show up (as well as just "tag" sometimes). I just thought that was cool. Because I'm a greedy bastard and got even more use out of asterisks for a max-40 search, haha

2.) In the blacklist, using > for score and favcount exceptions doesn't work properly. But you can get around this by simply using < as a rule.

For example, instead of making 'exampletag' have exceptions like '-score:>49 -favcount:>99' and running into the 'shows thumbnails but not the full images' problem, you can just avoid the issue altogether by setting it up like this:

exampletag score:<50 -stuff_to_allow
exampletag favcount:<100 -blah_blah

So no need to bother with having a minus in front of score or favcount as exceptions.
You can simply make your 'exception' be determined by < . The numbers below your requirement just won't appear.

I hope that made sense. Again I'm probably late to the party on this one. But I guess we don't have to use the preview image workaround (not that it was a big deal) :]

...

Edit: Another random thing. This one's a question. Does "–" still behave like "-" in the blacklist? Sometimes I'll be using a word processor to update my blacklist, and it'll auto-format a minus into that weird long minus if I hit the spacebar on it or something. Just thought I'd ask while I'm here...

Updated

bitWolfy

Privileged

tostada said:
I'm not sure the install link is working. I have the latest version of Tampermonkey on firefox and after clicking the install link nothing happens. If I open it in a new window, I just get a blank page. And, if I try to install it from the link directly in Tampermonkey utilities, I just get an endless "Please wait...".

:(

EDIT: Nevermind, I was in a private window but Tampermonkey was opening the install tab on a regular window. No problems installing it.

I'm glad that this got resolved.
Just a word of warning - private window does not preserve the script's settings across sessions. Whatever changes you make from a private window - edit the script's settings, subscribe to a pool, etc - will be reset the moment you close the window. That's just how private window works, not something I can fix.
Changes to settings and subscriptions, as well as script updates, should be done from a regular window.

human-shaped said:
2.) In the blacklist, using > for score and favcount exceptions doesn't work properly. But you can get around this by simply using < as a rule.

For example, instead of making 'exampletag' have exceptions like '-score:>49 -favcount:>99' and running into the 'shows thumbnails but not the full images' problem, you can just avoid the issue altogether by setting it up like this:

exampletag score:<50 -stuff_to_allow
exampletag favcount:<100 -blah_blah

So no need to bother with having a minus in front of score or favcount as exceptions.
You can simply make your 'exception' be determined by < . The numbers below your requirement just won't appear.

I hope that made sense. Again I'm probably late to the party on this one. But I guess we don't have to use the preview image workaround (not that it was a big deal) :]

That has nothing to do with the greater than (>) sign, actually. E621's native blacklist's score comparison just does not support negation.
For example, if you use exampletag -score:<10, it will simply filter out all cases of exampletag.

human-shaped said:
Edit: Another random thing. This one's a question. Does "–" still behave like "-" in the blacklist? Sometimes I'll be using a word processor to update my blacklist, and it'll auto-format a minus into that weird long minus if I hit the spacebar on it or something. Just thought I'd ask while I'm here...

No, it doesn't. That's an en-dash, not a minus, and the blacklist specifically looks for a minus in front of the tag.
I could probably account for that in the script, but it's such a minor edge case that I'm not sure it would be worth it.

I am still working on bringing the blacklist support to other parts of the site. It's just that I have been incredibly busy with my actual job this week, so I had very little time for this project.

Gotcha~ Well at least there are ways to make it work if you know how :]

About the progress tracker, I'm not seeing any difference when it's on or off. I'll look at pages I know I've never seen and everything's the same with no highlights.

Also is it based on what you've clicked on or does previewing a post count?

bitWolfy

Privileged

human-shaped said:
About the progress tracker, I'm not seeing any difference when it's on or off. I'll look at pages I know I've never seen and everything's the same with no highlights.

You did click on the "Track" link at the top of the page?
It should highlight new posts with a yellow info bar, like this

bitwolfy said:
You did click on the "Track" link at the top of the page?
It should highlight new posts with a yellow info bar, like this

Yes I clicked Track, although my screen is the default blue and my Track/Untrack is just to the left of the approximate number of posts at the top right.

I tested it with screenshots between 'before I clicked something I've never seen' and 'after I clicked it' and the area just below the thumbnail is the same off-blue as I've always seen it.

Should I pick a different theme instead of the default? Or maybe something else in the settings is affecting that feature?

bitWolfy

Privileged

human-shaped said:
Yes I clicked Track, although my screen is the default blue and my Track/Untrack is just to the left of the approximate number of posts at the top right.

I tested it with screenshots between 'before I clicked something I've never seen' and 'after I clicked it' and the area just below the thumbnail is the same off-blue as I've always seen it.

Should I pick a different theme instead of the default? Or maybe something else in the settings is affecting that feature?

Nah, it works on all themes. Does not look fantastic with the "Pony" theme, but the default should be fine.
Could you send me the search query that you tracked? Could be something else having an effect here.

Also, this feature only currently works on the first page, for complicated internal reasons. So, that might be the problem.

bitwolfy said:
Nah, it works on all themes. Does not look fantastic with the "Pony" theme, but the default should be fine.
Could you send me the search query that you tracked? Could be something else having an effect here.

Also, this feature only currently works on the first page, for complicated internal reasons. So, that might be the problem.

THAT explains it, haha. I usually bookmark on page 2 so page 1 stuff has a week to grow in score/favcount. Okay so when I go to the first page of my goofy 40-tagged search (full of score/favcount requirements, wildcards and tildes), there ARE some posts that are highlighted, but only the first/newest three up at the top, which is odd because I haven't even seen the majority of the other posts on page 1. You'd think most of them would be highlighted.

If this is just a page 1 feature, that's okay I can live without it. I dig my page 2 setup too much to change it, haha. I think it's a cool feature though~ It might help to have a brighter highlight, though. I had to really look closely to notice the yellow at first. Or maybe a border around the thumbnail, kind of like when posts get flagged.

bitWolfy

Privileged
Patch 1.4.29

Hotfix for the latest site update.

Fixes
- Fixed an infinite loading bug on the post page that appeared after the site update
- Temporarily disable the ImageScaler. Will make a comeback later.
- Minor consistency fix on the notes toggle

Is there any way to make it so already "seen" pics from the subscription window get removed automatically?
"seen" as in no need to click on the "x" for each one of them to make them disappear.

bitWolfy

Privileged

carb0n0x said:
Is there any way to make it so already "seen" pics from the subscription window get removed automatically?
"seen" as in no need to click on the "x" for each one of them to make them disappear.

Not at the moment.
I don't know if there's a good way to implement this without having some updates get accidentally lost every once in a while.

I could just add a "Cache Expiration" option of one day. That should have a somewhat similar effect.

What happened to the download button? I used to be able to click download and it saved the image automatically, but it seems to have been removed today. Was it removed or renamed?

shammy_stash said:
What happened to the download button? I used to be able to click download and it saved the image automatically, but it seems to have been removed today. Was it removed or renamed?

"Fullscreen" - it's an orangey brown
If you right click it and "save link as" it'll download the image

bitWolfy

Privileged

helioeccentric~ said:
"Fullscreen" - it's an orangey brown
If you right click it and "save link as" it'll download the image

You are wrong.
You are referring to e621 functionality, they are talking about the button added by the script.

shammy_stash said:
What happened to the download button? I used to be able to click download and it saved the image automatically, but it seems to have been removed today. Was it removed or renamed?

The "download" button should still be there.
It's in the image toolbar, alongside other buttons. Should be the second one from the right.

bitwolfy said:
You are wrong.
You are referring to e621 functionality, they are talking about the button added by the script.

The "download" button should still be there.
It's in the image toolbar, alongside other buttons. Should be the second one from the right.

Woah, something weird just happened. I know 100% it was missing 4 hours ago, and I went to go do real life stuff. I've just arrived back to read the messages and it's just magically back. This is very odd. It was also accompanied by a weird "loading circle" that did nothing but obstruct images that were already at full resolution.

It's all gone now, but that was very odd. Does anyone know what I might have experienced so I can avoid it? I don't use any modifications to e6 other than this one.

bitWolfy

Privileged

shammy_stash said:
Woah, something weird just happened. I know 100% it was missing 4 hours ago, and I went to go do real life stuff. I've just arrived back to read the messages and it's just magically back. This is very odd. It was also accompanied by a weird "loading circle" that did nothing but obstruct images that were already at full resolution.

It's all gone now, but that was very odd. Does anyone know what I might have experienced so I can avoid it? I don't use any modifications to e6 other than this one.

Ah. The script probably updated to the latest version in the background.
A site update went out yesterday, which broke some things in the script. I released a hotfix patch 1.4.29 to address those issues.

bitwolfy said:
Ah. The script probably updated to the latest version in the background.
A site update went out yesterday, which broke some things in the script. I released a hotfix patch 1.4.29 to address those issues.

That makes sense, thanks!