Topic: eSix Extend (V3.02) - A script that does good stuff to your user experience!

Posted under e621 Tools and Applications

Munkelzahn said:
Does Find Source -> Derpibooru work?
If not, I would suggest removing it.

Nope, it doesn't... well, it should work, but I haven't talked with any Derpibooru admin yet :S

-----

Also, sorry but I've neglected this thread for a bit (due to personal reasons and just plain laziness). I can't say that I'll get back to work as soon as possible because I'd fall through the same holes and I don't want that to happen yet again... I can say, however, that I'll try to keep up with my responsibilities (such as this and many others). Sadly, I can't guarantee much :/

No, I have no kids, so that ain't one of my responsibilities

Updated by anonymous

Munkelzahn said:
Does Find Source -> Derpibooru work?
If not, I would suggest removing it.

Despite the auth token problems, I still find myself using it a lot as a shortcut. :V

Perhaps put some text next to it (currently broken), gray it out, or disable it by default?

Updated by anonymous

parasprite said:
Hey, any chance you could make a minor change to the "Avoid Posting" text, to add a link to the avoid posting list?

Also, is it possible to have it check against conditional DNP? Aome artists (e.g., moodyferret, scappo, jollyjack) have quite a bit of posts on here that get the same notice, which can be kind of confusing. It would be nice if it could be tweaked to say something like this instead:

XXX is conditional DNP. Check the Avoid Posting list before uploading

I agree - I think many people haven't wanted to post my work because the "avoid posting" tag comes up even though I'm only "conditional DNP".

Updated by anonymous

MoodyFerret said:
I agree - I think many people haven't wanted to post my work because the "avoid posting" tag comes up even though I'm only "conditional DNP".

I've changed that message a while ago, so that's fixed :D (it is, right?).

As far as I can see, your artist tag is linked with conditional_dnp which in turn is linked to avoid_posting. So, when your artist tag is added, the site will also add 'conditional_dnp' and 'avoid_posting' too.

Oh, by the way, I'm not an official site dev. Just a humble script dev c:

omigosh yet another artist replied on my thread :D

Updated by anonymous

Xch3l said:
I've changed that message a while ago, so that's fixed :D (it is, right?).

As far as I can see, your artist tag is linked with conditional_dnp which in turn is linked to avoid_posting. So, when your artist tag is added, the site will also add 'conditional_dnp' and 'avoid_posting' too.

Oh, by the way, I'm not an official site dev. Just a humble script dev c:

omigosh yet another artist replied on my thread :D

Yeah, those both show up - I was hoping maybe just the "conditional dnp" tag could show up without the "avoid posting" tag! I don't know how the other "conditional dnp" artists feel, but I'm assuming they're similar to me, in that they don't want people to avoid posting their work - just very specific pieces or topics.

Updated by anonymous

MoodyFerret said:
Yeah, those both show up - I was hoping maybe just the "conditional dnp" tag could show up without the "avoid posting" tag! I don't know how the other "conditional dnp" artists feel, but I'm assuming they're similar to me, in that they don't want people to avoid posting their work - just very specific pieces or topics.

avoid_posting is kind of a master go-to tag for DNP that was later extended with conditional_dnp, which is why they show up next to each other. It was originally intended to make it easier for us to spot potential DNP in the mod queue (anything tagged with it gets marked and highlighted). That being said, I'll bring this up with the other admins to see if there might be alternatives to using a single tag. I'm not sure if that will help your situation, but it's certainly worth discussing.

Updated by anonymous

parasprite said:
avoid_posting is kind of a master go-to tag for DNP that was later extended with conditional_dnp, which is why they show up next to each other. It was originally intended to make it easier for us to spot potential DNP in the mod queue (anything tagged with it gets marked and highlighted). That being said, I'll bring this up with the other admins to see if there might be alternatives to using a single tag. I'm not sure if that will help your situation, but it's certainly worth discussing.

Thanks, I appreciate it!

Updated by anonymous

Granberia said:
I found strange bug: screenshot

No, neither reacharound nor typewriter are a cute animal.

Well, shit. There goes my world. I've always thought that a typewriter was a cute animal...

I'm kidding. I'll check that right away! Thanks for reminding me of the backlog too...

Care to remind what was on the whiteboard? Other bugs, suggestions or something else I may have forgotten?

Edit: Alright, it seems that looking a tag by its ID does not work anymore. It's defined in the API though, so this is on the site's end

Updated by anonymous

so: fun bug I think I found.
I was going through my "subscriptions" and decided to clean it out a bit.
click on the link>stop reading.
A lot of these were just "kept" links, not sure if this contributes to the problem.
it doesn't seem to remove the correct one most of the time. (a lot of them I'm not on the latest post, so that may also be a cause)

Basically: I remove one, and it deletes a different one, which is kinda a problem, because I no longer want some of them, but I would like to keep some, but it seems to like to delete the ones I want to keep, while keeping the ones I have "removed" about 5 times now.

did some testing and it does seem to only happen on "kept" pools, not "reading"

Updated by anonymous

HIMofangels said:
so: fun bug I think I found.
I was going through my "subscriptions" and decided to clean it out a bit.
click on the link>stop reading.
A lot of these were just "kept" links, not sure if this contributes to the problem.
it doesn't seem to remove the correct one most of the time. (a lot of them I'm not on the latest post, so that may also be a cause)

Basically: I remove one, and it deletes a different one, which is kinda a problem, because I no longer want some of them, but I would like to keep some, but it seems to like to delete the ones I want to keep, while keeping the ones I have "removed" about 5 times now.

did some testing and it does seem to only happen on "kept" pools, not "reading"

Hmmm... lemme check if I can reproduce that

Edit: Yep. Das a bug. What it does now, is take off the last pool you've subscribed to and, in fact, this happens on both Kept and Active pools. But I've fixed it now :D

Also, um, it'll be some time for the new update to come up, so I thank y'all for your patience

Updated by anonymous

Well, looking at the diff from the previous version to the current one, I've decided that it's time to release the dogs an update

[11/06/15] Version 2.991 (Code 150611-1, -3450B)

  • Updated DNP Database to version 308

Removed some unused dialogs, LocalStorage entries and rewrote the "Settings outdated" message to be "Update Successful"
Took off old pool tracking code since it was never used since version 2.7
Fixed the stylesheet detection code for 20PC and AGNPH
Settings can now be changed when not logged in
Tweaked some number handling with Forum Subscriptions
Disabled reverse image search link to Derpibooru. Automatic direct link to a post still remains [forum #160091]
Tweaked again the post resizing effects to avoid flattening on first-time-seen posts [forum #158137]
Improved the search refiner to allow use of wildcard searching (tag*) [forum #156464]
Fixed bug that removed the last pool subscription when clicking "Stop Reading" on a pool's post [forum #161666]
Fixed few typos here and there

Well, that's it for the moment. Now, if y'all excuse me, Imma crawl back to my cave...

Goodnight.

Updated by anonymous

I'm surprised to see an update xD But awesome, thank you.

Updated by anonymous

Love the ability to change settings while offline! Thank you for the continued efforts improving this script. Hope you haven’t lost sleep over it. owo

Now call me a dreamer, but there are two more things I think your script could benefit from:
1.) The ability to disable comments (and/or apply blacklist to avatars) via Extend instead of relying on the regular e6 site settings. Even with offline settings, you still have to log in to have options like that active. Aside from being a good fix for avoiding the site-wide ‘blacklisted avatars’ bug or just comments in general, it would just be nice to have more options while offline :3

2.) An optional ‘Essentials Mode’ we can checkmark. Basically turning the Posts page into a blank slate with nothing but images, search and the new offline settings button (of course). Kind of like a tumblr porn setup; nothing but the images you came here for. Aside from saving space (and possibly loading?) and just having more options, it would feel like a natural evolution from your Extend version of the e6 web layout. A ‘less is more’ approach if you will >:3

Just some thoughts I had about features. Keep up the good work and thanks again! :]

Updated by anonymous

Human-Shaped said:
Love the ability to change settings while offline! Thank you for the continued efforts improving this script. Hope you haven’t lost sleep over it. owo

Thank you and everyone for your support! :D
Oh, and don't worry about me losing sleep, I'm on vacation :V

1.) The ability to disable comments (and/or apply blacklist to avatars) via Extend instead of relying on the regular e6 site settings. Even with offline settings, you still have to log in to have options like that active. Aside from being a good fix for avoiding the site-wide ‘blacklisted avatars’ bug or just comments in general, it would just be nice to have more options while offline :3

Think that's easily doable with an adblocker. Afaik, AdBlock has the ability to hide some items by using CSS Rules, but I guess that can be done with #2 down here:

2.) An optional ‘Essentials Mode’ we can checkmark. Basically turning the Posts page into a blank slate with nothing but images, search and the new offline settings button (of course). Kind of like a tumblr porn setup; nothing but the images you came here for. Aside from saving space (and possibly loading?) and just having more options, it would feel like a natural evolution from your Extend version of the e6 web layout. A ‘less is more’ approach if you will >:3

Even though that may be a drastic layout overhaul I think it's doable, though you might be better by using the mobile version of the site. Cleaner and just the image with less distractions. Unless you want a gallery-like mode, in which case, there's another extension that presents your search terms as a slideshow at forum #157668

dang, I need to fix my grammar, I used "though" twice on the same line

---------------

Notice: I've begun to write down what I've done to the script (on my unpublished copy, of course) so if you're curious and/or want to know what's going on with it, I'm sharing the txt file I'm writing to here (entries might be some days apart)

Updated by anonymous

You're welcome! I know what it's like to really need a vacation so I'm happy for ya. owo

Oh I'm sure. I have Firefox so I use CommentBlocker, but even that isn't perfect (as in there are cases where comments still slip through, as well as the ever-annoying site-wide bug where blacklisted avatars still show as well. Your logic makes complete sense though. I mean why bother adding something to the script that an add-on sort of thing can take care of? Guess I'm scrapin' the bottom of the ol' suggestion barrel >w<'

Oh snap! owo I had no idea there was a mobile version (not really a mobile porn person). I really do like that setup, although the immediate disadvantage I see is how few images are on screen compared to the normal layout (but hey, it was designed for mobile use so it makes sense). Oh well. Thanks for mentioning the extension, although I don't have Chrome. It's nice of ya to inform and link me like you did anyway :3

Updated by anonymous

Ok, this is weird...

I've recently subscribed to forum #164306, only to find an interesting bug.
It seems like the subscription checker keeps putting NaN into the page count, causing the script to show Unexpected token N error messages every time it tries to process it later. I've already fixed it manually twice, but it keeps occuring.

Also, opening the subscriptions list like this makes two of these messages show up in DevBug. And one of them just won't disappear, no matter what. Afterwards, an Uncaught NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node. message tends to follow a little while later.

Updated by anonymous

EsalRider said:
Ok, this is weird...

I've recently subscribed to forum #164306, only to find an interesting bug.
It seems like the subscription checker keeps putting NaN into the page count, causing the script to show Unexpected token N error messages every time it tries to process it later. I've already fixed it manually twice, but it keeps occuring.

Also, opening the subscriptions list like this makes two of these messages show up in DevBug. And one of them just won't disappear, no matter what. Afterwards, an Uncaught NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node. message tends to follow a little while later.

Hmmm... Guess it has something to do with how the script handles counting pages from the replies on the thread. Somewhere between the reply count and calculating pages1 there may be a letter or EE is treating replies as a string...

I can't check it right now but, as always, I'll do as soon as possible

DevBug related

As for the stubborn entries that don't disappear, turns out that ironically, DevBug is a bit bugged. Depending on the versions of eSix Extend and DevBug (specifcally this guy) they may be incompatible (older versions used new devbug() to create an entry while newer just call it as a function).

To dismiss one, try clicking on its entry number (upper-right corner); or to dismiss all, right click anywhere inside the log or use #clear command; or #clearAll/#clearall (casing is important but I forgot which one I defined n_n; ) to dismiss both pinned and not pinned

1 There's 30 per page, I'm using Math.ceil(replies / 30) so even if there's 31 replies, page count will be 2

Updated by anonymous

Xch3l said:
Hmmm... Guess it has something to do with how the script handles counting pages from the replies on the thread. Somewhere between the reply count and calculating pages1 there may be a letter or EE is treating replies as a string...

I can't check it right now but, as always, I'll do as soon as possible

Weird is weird. It didn't happen (or at least didn't seem to happen) for two update checks. Now, a little later, I come back to check the forums, and bam, it happened. Time to edit the LocalStorage again.

DevBug related

Re-related

Nothing can dismiss these things. Clicking on the entry number doesn't work. Right-clicking (which I usually do anyways) doesn't work. It does dismiss other entries present, though. Commands #clear and #clearAll don't work. The entry is not even pinned.

Edit: I've forced a userscript update. Tampermonkey thought it was a downgrade, so it didn't auto-update. Seems like this sloved the problem.

Edit: Another thing I noticed:

Highlight a word in a textarea where formatting buttons are visible. Click the Wiki button. Leave the Title field empty and press OK. Nothing happens.

Updated by anonymous

EsalRider said:
Weird is weird. It didn't happen (or at least didn't seem to happen) for two update checks. Now, a little later, I come back to check the forums, and bam, it happened. Time to edit the LocalStorage again.

Hmmm, then that makes it hard to find :S

Re-related

Nothing can dismiss these things. Clicking on the entry number doesn't work. Right-clicking (which I usually do anyways) doesn't work. It does dismiss other entries present, though. Commands #clear and #clearAll don't work. The entry is not even pinned.

Edit: I've forced a userscript update. Tampermonkey thought it was a downgrade, so it didn't auto-update. Seems like this solved the problem.

Glad to know that. I've noticed that tampermonkey thinks that numbers with less digits mean downgrade, that's why EE uses datecodes instead

Edit: Another thing I noticed:

Highlight a word in a textarea where formatting buttons are visible. Click the Wiki button. Leave the Title field empty and press OK. Nothing happens.

Wiki button works slightly different from the others, maybe I overlooked something there...

But anyway, both are now added to the todo list (NaN and Wiki button bugs)

Updated by anonymous

Xch3l said:
Hmmm, then that makes it hard to find :S

I think I got it. After an update check, if there was an update, opening the topic from the forum index (not from the subscriptions list) triggers the issue, replacing 1 with NaN.

Updated by anonymous

EsalRider said:
I think I got it. After an update check, if there was an update, opening the topic from the forum index (not from the subscriptions list) triggers the issue, replacing 1 with NaN.

I think I got it too, the script copies the page number from the current URL ("?page=n") and tries to parse it as number so NaN is returned instead (sine there is no page query on the URL at the very first page, parseInt(undefined) gets used instead)

Updated by anonymous

if you have a pool in your subscription that was completely deleted (mine happens to be a comic that turned out to still be premium content), the buttons simply don't show up on the post page.
I now remembered that the settings page allows editing of subscribed pools, but it would be nice to have the option. Ofc, I wouldn't be surprised if this were on purpose so people don't subscribe to dead pools, but it would be nice to have a quick way to remove them.

Updated by anonymous

I have "Image resize mode" set to "Show reduced samples" in my settings.

Trying to find post #727576 with Google Search:

The built-in Reverse Google Search works, because it uses:
http://static1.e621proxy.ru/data/preview/fe/94/fe946bdd1c5904bf65ca8bf947ef0745.jpg

eSix Extend's Google search doesn't, because it uses:
http://static1.e621proxy.ru/data/fe/94/fe946bdd1c5904bf65ca8bf947ef0745.jpg

The URL of the reduced-size sample is:
http://static1.e621proxy.ru/data/sample/fe/94/fe946bdd1c5904bf65ca8bf947ef0745.jpg

Updated by anonymous

Munkelzahn said:
I have "Image resize mode" set to "Show reduced samples" in my settings.

Trying to find post #727576 with Google Search:

The built-in Reverse Google Search works, because it uses:
http://static1.e621proxy.ru/data/preview/fe/94/fe946bdd1c5904bf65ca8bf947ef0745.jpg

eSix Extend's Google search doesn't, because it uses:
http://static1.e621proxy.ru/data/fe/94/fe946bdd1c5904bf65ca8bf947ef0745.jpg

The URL of the reduced-size sample is:
http://static1.e621proxy.ru/data/sample/fe/94/fe946bdd1c5904bf65ca8bf947ef0745.jpg[/quote]

Hmm, I'll have to check that. It's been a while since I have touched the script so I need to check what I'm doing there....

@HIMofangels: I'll have to check that too. As I said, I don't quite remember what's going on with the script :/

But don't worry, I'll get to working back to the script soon-ish

Updated by anonymous

Me again. owo

So I made this suggestion in the official Feature Request Thread around a month ago:

~~~
"Requested feature: Either more (or infinite) space in the Blacklisted box or an 'Artist Blacklist' feature.

Why it would be useful: Since there's a limit of space in the Blacklisted box and new artist images are being posted daily, there's gonna be a point where you're out of room and can't Blacklist anymore (like I can't, lol). To help avoid seeing wasted images by new artists (for being low quality or in a style you don't like, etc.) and further helping make sure you only see things you like each page, either of those requests would be useful.

Can't think of any other ways around this, because I doubt a 'low-quality' or 'noob with crayons' tag is gonna catch on."
~~~

Their response was the blacklist limit was based on the limited space of cookies, which they might get rid of at some point so the maximum blacklisting space can be MUCH more than what it is now (Which I wish that was in the works soon, but I doubt it -w-).

My question to you is would some kind of extend-based alternative be possible until then? owo

Such as extend having its own blacklist feature for when you run out of room in the regular esix blacklist? Or just an 'artist blacklist' perhaps? OR (and I have no idea what I'm talking about here) but something similar to how you can make a url smaller and it still works--but with tags? Like say you convert ten tags into one code that covers all those tags--blacklisting them all while using less space? That's probably just more of my wishful thinking though -w-

Updated by anonymous

Human-Shaped said:
Me again. owo

So I made this suggestion in the official Feature Request Thread around a month ago:

Requested feature: Either more (or infinite) space in the Blacklisted box or an 'Artist Blacklist' feature.

Why it would be useful: Since there's a limit of space in the Blacklisted box and new artist images are being posted daily, there's gonna be a point where you're out of room and can't Blacklist anymore (like I can't, lol). To help avoid seeing wasted images by new artists (for being low quality or in a style you don't like, etc.) and further helping make sure you only see things you like each page, either of those requests would be useful.

Can't think of any other ways around this, because I doubt a 'low-quality' or 'noob with crayons' tag is gonna catch on.

Their response was the blacklist limit was based on the limited space of cookies, which they might get rid of at some point so the maximum blacklisting space can be MUCH more than what it is now (Which I wish that was in the works soon, but I doubt it -w-).

My question to you is would some kind of extend-based alternative be possible until then? owo

Such as extend having its own blacklist feature for when you run out of room in the regular esix blacklist? Or just an 'artist blacklist' perhaps? OR (and I have no idea what I'm talking about here) but something similar to how you can make a url smaller and it still works--but with tags? Like say you convert ten tags into one code that covers all those tags--blacklisting them all while using less space? That's probably just more of my wishful thinking though -w-

It is possible, yes. I could tell the blacklist to use WebStorage (same thing EE uses to save your preferences) instead of a cookie, raising the limit to 1MB on Chromium and derivates, if I'm not mistaken, or 5MB on Firefox.

The other suggestions might requre to rewrite the blacklist function.

Some technical info

The reason the current limit is so low is that cookies are limited to 4KB (4,096 characters) with some non-printable characters, symbols and ';' encoded in three characters ("%3B" for the ';' character, for example), considerably reducing the available space. New lines also play on this, because they get encoded in 6 characters ("%0D%0A"), reducing even more the limit. I think the current limit of 3900 is just a safe estimate.

This limit has an advantage, though: You'll always get the same cookie no matter what device you use.

WebStorage, on the other hand, is just kept on the device you're using and can't be transferred as easy as cookies are. It has to be explicitly exchanged like a normal page (via request or included as a separate script)

Munkelzahn said:
Can you add this feature to eSix Extend?
https://e621.net/forum/show/30573?page=46#post-167274[/quote]

Sure. I'll just need some time to check how the page is laid out and work with data available there (requesting the comments list doesn't give that much information on a single request :/ )

-----

In other news, I've realized that I have been linking to an old dupe of the Active Changelog (Google drive is dumb in the sense of creating new files when they should be updated instead)

This is the real change log (last updated: Aug. 10)

...apparently, I also modified the other post (I don't remember when, though)

Updated by anonymous

Xch3l said:
It is possible, yes. I could tell the blacklist to use WebStorage (same thing EE uses to save your preferences) instead of a cookie, raising the limit to 1MB on Chromium and derivates, if I'm not mistaken, or 5MB on Firefox.

The other suggestions might requre to rewrite the blacklist function.

Some technical info

The reason the current limit is so low is that cookies are limited to 4KB (4,096 characters) with some non-printable characters, symbols and ';' encoded in three characters ("%3B" for the ';' character, for example), considerably reducing the available space. New lines also play on this, because they get encoded in 6 characters ("%0D%0A"), reducing even more the limit. I think the current limit of 3900 is just a safe estimate.

This limit has an advantage, though: You'll always get the same cookie no matter what device you use.

WebStorage, on the other hand, is just kept on the device you're using and can't be transferred as easy as cookies are. It has to be explicitly exchanged like a normal page (via request or included as a separate script)

Glad to know it's at least possible in one way or another! I just wanted to suggest that, but you do whatever makes more sense to ya. owo

If extend could give us more blacklist space (and remember all the tags we blacklisted when we come back without needing to log in, etc), that would make SUCH a huge difference in my opinion. I enjoy this site a lot, but I often find myself digging through listings trying to find good stuff, but the page is cluttered by artists whose work just doesn't appeal. It's no offense to them; I just don't like scanning page after page of what COULD be a much more condensed gallery of nothing but stuff I'm willing to click. Could save a lot of spare time, if not just be obviously more convenient for everybody :3

Thanks again for extend in general. Done nothing but improve the site experience~

Updated by anonymous

Apparently the latest update for FF nuked all of my settings and tracked pools. I was able to get some of them back from a backup I did, but it was many months old. Might be worth looking into a different method to save the extension's data in case clearing localstorage becomes the norm now for subsequent updates.

Updated by anonymous

logitech said:
Apparently the latest update for FF nuked all of my settings and tracked pools. I was able to get some of them back from a backup I did, but it was many months old. Might be worth looking into a different method to save the extension's data in case clearing localstorage becomes the norm now for subsequent updates.

Hmm, how strange. The script is not set to clear local storage on every update, though an error when parsing your settings could have caused that (an error box should have appear on the bottom-left corner). That or clearing cookies might have caused it too (localstorage is linked to cookies, so clearing cookies takes ls with them). There's an export to file option on the next version (which still has to be made manually).

Maybe adding -optional- reminders to backup your settings?

Updated by anonymous

Xch3l said:
Hmm, how strange. The script is not set to clear local storage on every update, though an error when parsing your settings could have caused that (an error box should have appear on the bottom-left corner). That or clearing cookies might have caused it too (localstorage is linked to cookies, so clearing cookies takes ls with them). There's an export to file option on the next version (which still has to be made manually).

Maybe adding -optional- reminders to backup your settings?

Perhaps. Let you opt-in for the notification and just have it pop up like the pool checking reminder. Though on that topic, it would be nice if that bar were pushed down another 50 or so pixels. Where it sets now mostly obscures the main navigation links.

I'm not terribly bent out of shape about losing stuff, it just seemed odd that none of the pools that I was following had updated in the past few weeks. I went to look at something else in the settings and saw that the list of pools was empty so that answered my question.

Updated by anonymous

Feature Request:
GIF-block

When it's enabled, all animated GIFs are replaced with a static JPG/PNG that only contains the text "GIF"
(the versions displayed when you open a post, not the thumbnails)

Black text on white background, like this: http://static1.e621proxy.ru/images/download-preview.png
When you click on the image, the animated GIF is dislayed.

Maybe superimpose the text "Animated GIF" over the thumbnail, if that's possible.

Why it would be useful:
- Many animated GIFs are huge.
- The image resize settings don't affect them.
- They load automatically when you click on the thumbnail
- There's only one way of knowing beforehand that the image is an animated GIF: hover the mouse over the preview and look for "animated" in the tag list => takes too long, and doesn't work if the uploader has forgotten the "animated" tag

Updated by anonymous

Munkelzahn said:
- There's only one way of knowing beforehand that the image is an animated GIF: hover the mouse over the preview and look for "animated" in the tag list => takes too long, and doesn't work if the uploader has forgotten the "animated" tag

We really need to get the system to automatically add certain tags based on file itself. type:gif is useful but I see no reason why it couldn't detect multiple frames on upload, and add the animated tag on upload.

The animated text on the preview image might be trickier though.

Updated by anonymous

parasprite said:
We really need to get the system to automatically add certain tags based on file itself. type:gif is useful but I see no reason why it couldn't detect multiple frames on upload, and add the animated tag on upload.

Alt text for thumbnails between "Date" and Flag reason could have the filesize. Then you can decide whether or not to click on a 30 MB animation, which would not be shrunk by "Show reduced samples".

I believe there are some animated PNGs on the site although they are a tiny fraction.

Updated by anonymous

@Munkelzahn, @parasprite & @Lance_Armstrong:

Hmm, those are good ideas and, in fact the information is actually available. Inside Post.posts._object is a collection of all posts in the page accessible by their ID which can be read with Post.posts.get(PostID) (plus a simple for(property in object) loop to read all items) and they're in the same format as requesting a post as a JSON object.

I've been planning to use that information to refine the refiner (oh, the redundancy :P ), allowing it to use more than the available metatags plus categorization capabilities.

Updated by anonymous

Munkelzahn said:
Feature Request:
GIF-block

Why it would be useful:
- Many animated GIFs are huge.

I tried to make a temporary workaround using the blacklist:

animated type:gif filesize:>=1000KBanimated filesize:>=1000KB

It didn't get rid of post #770210, an animation over 10 MB. The filesize syntax does not work in blacklist. I settled on this:

animated type:gif

For the first time ever, I will use a blacklist, since These Gifs Are Too Damn Large.

Lots of users are having problems with large animations:

post #770193

Updated by anonymous

parasprite said:
We really need to get the system to automatically add certain tags based on file itself. type:gif is useful but I see no reason why it couldn't detect multiple frames on upload, and add the animated tag on upload.

I've written some code for this kind of stuff in the past. With ImageMagick, it's simply (shell script:)

NFRAMES=$(identify "$FILENAME" | wc -l)
  if [ "$nframes" -gt 1 ]; then
    tags+=(animated)
  fi

I also have code to detect greyscale (convert to grey and compare), transparency (use "identify -verbose" channel statistics for alpha), pixel aspect ratio, and (in certain very limited circumstances) monochrome, which I can link here if it's going to be of any use.

Updated by anonymous

savageorange said:
I also have code to detect greyscale (convert to grey and compare), transparency (use "identify -verbose" channel statistics for alpha), pixel aspect ratio, and (in certain very limited circumstances) monochrome, which I can link here if it's going to be of any use.

Detect greyscale, transparency, and monochrome? You're on top of things.

This is a great first step before using machine intelligence to automatically tag e621/booru images in the year 2025.

Updated by anonymous

Lance_Armstrong said:
This is a great first step before using machine intelligence to automatically tag e621/booru images in the year 2025.

In the year 2025, our tag wars will be fought by machines

Updated by anonymous

Lance_Armstrong said:
Detect greyscale, transparency, and monochrome? You're on top of things.

This is a great first step before using machine intelligence to automatically tag e621/booru images in the year 2025.

Can't tell exactly how serious you are(n't), but I think there are probably other things we should also aim to be autodetecting.. like absurd_res / superabsurd_res... anything else?

A more reliable monochrome detection would use a histogram (if there are two colors that together occupy 60%+ of the histogram, it's probably mono; Can be verified by taking those two and verifying that all colors in the histogram are interpolations between those two. Probably with a small error margin to deal with things like JPG chroma compression artifacts. Converting to YCbCr color space first would probably simplify things (compare only Cb and Cr, rather than all three channels))

We potentially might be able to autodetect plain_background + ${COLOR}_background (eg. blue_background) combinations using a combination of histogram techniques and sampling pixels from image corners.

(this is all essentially framework agnostic. ImageMagick is just an obvious choice for the platform I'm running on, not sure what exactly E6 is running on.)

EDIT: Just out of curiosity, do you know if we have a tag for 'all information is in the alpha channel' -- ie. The picture is literally one color, and the image is formed via variations in alpha values. Maybe not, that's sort of a variation of 'line-art', I guess.

Updated by anonymous

savageorange said:
Can't tell exactly how serious you are(n't), but I think there are probably other things we should also aim to be autodetecting.. like absurd_res / superabsurd_res... anything else?

animated, type (flash, webm), res tags, transparency, and automatically changing posts to rating:e when certain tags are added (e.g., penis) is on my list of things to do.

Updated by anonymous

savageorange said:
Can't tell exactly how serious you are(n't), but I think there are probably other things we should also aim to be autodetecting.. like absurd_res / superabsurd_res... anything else?

There are seriously unreleased commercial and academic algorithms for advanced tagging images. Our users have done the hardwork of "training" the system by tagging. All we have to do is get an algorithm, put the best/most 100,000 tagged images into it, and run it.

Here is one. I don't remember which algorithm is closest to the one we need but you can read all about it.

savageorange said:
EDIT: Just out of curiosity, do you know if we have a tag for 'all information is in the alpha channel' -- ie. The picture is literally one color, and the image is formed via variations in alpha values. Maybe not, that's sort of a variation of 'line-art', I guess.

Do you have an example image on e621?

Updated by anonymous

Lance_Armstrong said:
There are seriously unreleased commercial and academic algorithms for advanced tagging images. Our users have done the hardwork of "training" the system by tagging. All we have to do is get an algorithm, put the best/most 100,000 tagged images into it, and run it.

I wasn't questioning the AI idea (though I think it is MUCH harder than you think to get good reliability), but rather how serious your comparison of my fairly trivial script to it was.

Do you have an example image on e621?

No, but here's a quick example (non-furry) I just uploaded to Imgur.

Updated by anonymous

Merr xmas! 'Tis be the present I give to you all

[24/12/15] Version fuck-it-let's-go-three-already (Code 151224; +12793 bytes)

  • Updated DNP Database to the most recent version: 362

Fixed a bug with the docker on the Formatting Buttons when floating, where it didn't disappear when docked in 1x16 layout
Code: Changed the way the script communicates with your browser's WebStorage. Things should be a lil bit more reliable when reading settings or updating subscriptions
Changed the graphic on options that had dependencies (like "Collapse long comments")
New option: Decorate user ranks. Turns the member level text into a nifty badge
Reordering custom links can either be done via the provided up/down buttons or by dragging the items around (that's the new thing)
New: Added Importing/Export user preferences to and from a file
Added average score on "Posting score" and "Commenting score" button results [based on forum #163557]
Fixed a small bug with "Image effects." Hopefully, notes should be readjusted after the image resizes
Search refiner:

    • Fixed a typo in the help box

Added refine by month's name (is stated but it wasn't working)
Added a second message displaying what isn't supported by the refiner

  • Added a 'help' icon to the "Common Tags" section

Added "list of users currently dmailed to" on the "From" field on DMail index
Fix: Wiki button does nothing with selected text
Fix: Nothing would be inserted if the title field is blank when selecting the Wiki button
Code: Improved textbox text selection logic for future customizable buttons
Code: Improved the layering logic for floating panels and a couple dialogs
Fix: Fixed a couple things that may cause some NaNs on Forum Subscriptions
Code: Added a timeout of 20 seconds in case the current request takes a lot to complete, it will be cancelled so 'checkSubsUpdates()' can proceed with the next request

So yeah, I'll be updating to version 3... heh, it's funny because I've been avoiding going up to 3 with all that 2.9, 2.91, 2.99, etc. when in fact that number didn't really mean much anyway :P

From now on, the real number that determines the version is the date code (which has been since a while now :P )

Edit: I miiiight have missed something but I'm not sure what. If I actually did, pls remind me
@parasprite: it's not what you mentioned, btw

Updated by anonymous

Bug: Trying to add an emoji (🐎 :V) to a quick access title prevents settings page from loading.

Workaround: Developer tools -> Resources -> Local Storage -> ubLinks -> edit out emoji and refresh page.

Windows 10, Chrome 47 stable

Updated by anonymous

parasprite said:
Bug: Trying to add an emoji ( :V) to a quick access title prevents settings page from loading.

Workaround: Developer tools -> Resources -> Local Storage -> ubLinks -> edit out emoji and refresh page.

Windows 10, Chrome 47 stable

Hmmm, I thought that would work. Never tested it with symbols but didn't thought that could cause a problem.

Does anything appear on the Error Console? I can't check it at the moment, I'll be on mobile for a while

Updated by anonymous

Xch3l said:
Hmmm, I thought that would work. Never tested it with symbols but didn't thought that could cause a problem.

Does anything appear on the Error Console? I can't check it at the moment, I'll be on mobile for a while

{eSixExtend} InvalidCharacterError: Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.

Updated by anonymous

parasprite said:
{eSixExtend} InvalidCharacterError: Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.

Alrighty. I'll check it now and see if I can post a fix from wherever-am-I

Edit: Nope, I couldn't. It's quite difficult to work on such small screen. Update shall come when I get home (which should be on two days). Sorry :/

Updated by anonymous

Bug: When using the 'Check Tag' Box, aliases dont get handled properly.
When you enter something like 'f' or 'reptilian' in the textbox to check, it will first tell you 'No posts use this tag' and a moment later '~ is aliased to "mammal" and is present on 544410 posts'.
Even though the correct aliases would be 'female' and 'scalie'

Updated by anonymous

duefff said:
Bug: When using the 'Check Tag' Box, aliases dont get handled properly.
When you enter something like 'f' or 'reptilian' in the textbox to check, it will first tell you 'No posts use this tag' and a moment later '~ is aliased to "mammal" and is present on 544410 posts'.
Even though the correct aliases would be 'female' and 'scalie'

iirc, that's been a bug for a long time. it happened because something something e6 changed how they handle tag requests, and they haven't figured out a workaround yet. So, yeah. should be ignored for now (possibly disabled until it works)

Updated by anonymous

@duefff @HIMofangels

Yeeaah, I know about that one. It's on the list of "things I've been forgetting to fix" but I also forgot where did I left that list >_>

Kidding... well, I did forgot about this bug which, as HIMofangels points out and I quote, has been there since a long time.

Though, I should mention that I just fixed it* and I'll be posting the new changelog. Enjoy! :D

*gods, I just had to change two characters. TWO. DARN. CHARACTERS! Why didn't I fix it the first time it was reported?? D:

Updated by anonymous

Say hi to the first update of the year!! (which I hope to release more often, even if I'm just changing a character or two >_> )

[10/01/2016] Version 3.01 (Code 160110; -526 bytes)

  • Updated DNP Database to version 369

Fixed rare error when filling the fields on the Import/Export section on the settings page [forum #179803]
Removed the copy-paste method of exporting/importing entire settings in favor of the File based method
Fixed a bug I overlooked when importing settings from file
FINALLY fixed "...is aliased to 'mammal'" bug [PM, forum #180271 and forum #180291]
Changed the sorting order on the Subscriptions panel to list kept pools after active ones

Updated by anonymous

I just realized (after 19 hours) that I forgot to change the script version, so it's possible that you haven't received the update. Please allow for some time for your user script manager to catch up or trigger an update

Sorry for that -_-;

Updated by anonymous

Bugfix: Both settings panes got hidden with the newest site change on user settings. Now that I'm here, I guess I should relay that new change: The main site's now has anchors that can scroll the page to a given section.

Here's all the anchors available Thank @parasprite for the list :D (with sorting and addition of the last line by me :) ):

user_blacklist_avatars
user_blacklist_users
user_nojs_hide_explicit_thumbnails (only shows when javascript is disabled)

user_collapse_descriptions
user_hide_url_tags
user_show_post_stats
user_sort_tags
user_post_title
user_image_resize_mode

user_receive_dmails

user_rates
user_classic_mode

user_show_hidden_comments
user_comment_threshold

user_avatar_on

user_ignore_theme_changes

Updated by anonymous

Found a minor bug. You know that highlight color behind the official membership rank text on people's comments under their name? ("Member", "Blocked", "Mod", "Admin", etc)
If a comments section has any comments below your viewing threshold, and you click the link to load the hidden comments, doing so will strip out those background colors behind everyone's ranks. You can easily see it on this page: https://e621.net/post/show/802468 Not sure how long it's been doing this.

Also, I noticed that when you're editing the tags on an image and using the "Check Tag" box, it's no longer finding when a tag is aliased to something else and telling you about it. It just says "Nope! Tag does not exist" instead. Really throws me off since I use that all the time to doublecheck things.

I have to admit, the old bug that used to make it say everything was aliased to 'mammal' amused me more than it probably ever should have. As nice as it is since it was fixed, it did make me laugh more than a couple times. Some combinations especially, "cock is aliased to mammal!..." 0_0

Updated by anonymous

furrypickle said:
Found a minor bug. You know that highlight color behind the official membership rank text on people's comments under their name? ("Member", "Blocked", "Mod", "Admin", etc)
If a comments section has any comments below your viewing threshold, and you click the link to load the hidden comments, doing so will strip out those background colors behind everyone's ranks. You can easily see it on this page: https://e621.net/post/show/802468 Not sure how long it's been doing this.

iirc, it's been there since a while now. What the "x comments below threshold" link does is basically rewrite the entire comment section with the hidden comments added, a change that the script is not aware. I've been planning to hook on the function that does that (like I did with the site's notification, warning and error messages) but I've been forgetting to. What reminds me to do it is that exact thing :D

Also, I noticed that when you're editing the tags on an image and using the "Check Tag" box, it's no longer finding when a tag is aliased to something else and telling you about it. It just says "Nope! Tag does not exist" instead. Really throws me off since I use that all the time to doublecheck things.

I have to admit, the old bug that used to make it say everything was aliased to 'mammal' amused me more than it probably ever should have. As nice as it is since it was fixed, it did make me laugh more than a couple times. Some combinations especially, "cock is aliased to mammal!..." 0_0

Hmmm, I might have to check there carefully.
lol! That's actually funny

Thanks for the reports~

Updated by anonymous

Munkelzahn said:
"Find Source -> Google" doesn't work anymore.

post #821861

"Find Source -> Google" uses this link, which is valid:
http://static1.e621proxy.ru/data/sample/a3/77/a37796e6a866f5f091b71f4f24f7285b.jpg

But the search only displays this error:
404 Not Found

When I use Search By Image (by Google) on the preview image, or on the link above, it works (but of course it doesn't find anything).

Image resize mode = Show reduced samples

That fix should already be live (it works fine for me).

I don't know what google did, but all we needed to do was add https://www before the url and it works fine.

https://www

Updated by anonymous

parasprite said:
That fix should already be live (it works fine for me).

I don't know what google did, but all we needed to do was add https://www before the url and it works fine.

https://www[/quote]
The "Reverse Google Search" link under "Related Posts" works for me, too.
But not the "Find Source → Google" option in eSix Extend.

Updated by anonymous

Munkelzahn said:
The "Reverse Google Search" link under "Related Posts" works for me, too.
But not the "Find Source → Google" option in eSix Extend.

My fault, I assumed this was the bug report thread. :X

Updated by anonymous

Fixed it, I'll be posting a new changelog in a few minutes, since I forgot to do it on the last fix :I

Updated by anonymous

[04/02/2016] Version 3.02 (Code 160204; 200 bytes)

  • Updated DNP Database to version 377

Fixed clicking on "x comments below threshold"/"x comments hidden" removing user badges and other things [first paragraph of forum #181881]
Removed option "Include link to an user's profile when quoting" since it's been on the site a while now
Fixed NaNs caused on forum subscriptions with only a page (less than 30 comments)
Added missing www to Google link of "Find Source" menu [forum #182893, forum #182906]
Fixed bug in "Check tag" box, where it would either return "mammal" as aliased tag or say that the tag doesn't exist [second paragraph of forum #181881]
Reorganized a couple parts of the code

Updated by anonymous

Munkelzahn said:
The "respond" button on post comments doesn't work anymore.
Example:
1) Go to post #822975
2) Go to this comment https://e621.net/comment/show/2375577
3) Click the "respond" button
=> nothing happens

The "respond" button works when I turn Greasemonkey off (before loading the post, obviously).

Thanks for reporting this! :D

Turns out there were two errors, both fixed by now

1) When clicking "Respond" with "Collapse long comments" enabled, the script would look for the forum's response box, which doesn't exist on post pages, and tries to append the quote on a box that doesn't exist that causes #2

2) When that error occurred, the function that tried to do the thing failed to report by giving the wrong tag to the error reporter (that posts them to the error console) so it just took it as unimportant and discarded it

I'll update the file in a couple minutes

Updated by anonymous

Reported this in the Bug Report Thread also just in case, but maybe this is more of an Extend problem:

My blacklist isn't being remembered like usual! owo

Started happening today; just yesterday I could visit esix with blacklist active without having to log in or copy/paste it every time.

Is this is an esix thing or an Extend thing? Any tips? ^ ^'

Edit: It's worse than I thought at first. I have to re-paste my blacklist every time I move to another page! xD So going from Page 1 to 'Page 2' or 'Popular By Day,' my blacklist is empty. x_x

Updated by anonymous

@Human-Shaped: That seems to be part of the site, since Extend does not keep your blacklist. That's actually a cookie on the site.

Maybe as Furrin Gok said here, that you could be using Private Browsing/Incognito mode or have a system cleaner program (like CCleaner) that periodically removes cookies

Updated by anonymous

Bugfix: Fixed bug where the recipient list (list of last users dmailed) would appear over the text box, blocking the view

Also, have this, so this doesn't look empty :P

post #460999

Updated by anonymous

As always, the script has been working awesomely. The updates are wonderfully appreciated. I don't often stop by to say it, but every day I use it this script makes everything on the site function so much better. <3

And some business:

I found a minor bug: when using the "check tag" box while editing an image, it fails to ignore caps. Since names can often have capital letters anywhere in them on other sites, but tags never have capital letters, it does trip up the "check tag" box sometimes. So if I use it to check for "punk-pandora" it properly tells me that it's been aliased to "punkpandora". But if I use it to check for "Punk-Pandora" it says the tag does not exist. =/

Also, you probably know this one but should probably mention that the DNP and Conditional DNP auto-sensing-warnings seem to have fallen out of date.

  • What might be less obvious is that some of the conditional ones give a warning as if they're fully DNP instead of conditional, which might freak some people out unnecessarily.
  • And that sometimes the particulars given in the auto-sense-warning don't match the particulars given on the current Avoid Posting page.
    • (for example, if you type "oze" into a tag edit box, it will say "Safe artwork by oze is DNP: Twitter posts are DNP" but the DNP list only says that "Twitter uploads are DNP". So it doesn't match the current details. I ran into another example too though I can't remember which one it was or if it was from the fully DNP or conditional dnp section -- I only remember that the sensing-warning said explicit was a no-no, but according to the current DNP list, it's just a location that was off limits and explicit is a non-issue. I think. In any case, it looks like some details have changed, and you might want to give it a thorough check-over to get the less obvious discrepancies up to date again.)

Updated by anonymous

Quick bug fixes for version 3.023 (Code 160221)

  • Improved Auto Ordering and Reverse Ordering for pools [pm]

Fixed Conditional DNP detection [forum #184276]
Fixed case detection on tag checking: tag will be converted automatically to lower case [forum #184276]

furrypickle said:
As always, the script has been working awesomely. The updates are wonderfully appreciated. I don't often stop by to say it, but every day I use it this script makes everything on the site function so much better. <3

Thank you~

Updated by anonymous

@Xch3l

I'm now having a problem with the "Commenting Score" button in my settings. I know many may not actually use it but I rely on it more than most:

When I click it, the //"loadComments"// function does seem to do what it's supposed to begin with, but when it starts counting my score from the individual pages, it stops after page 2, causing the //"countScore"// function to only give results from the first page of comments.

It seems to me that when it is changing what page to count from, the function breaks after page 2, so when it tries to change from page 2 to page 3, it returns as "undefined". This would usually mean that the script itself has not defined what page to count from after "page 2". So instead of continuing, it moves on to the next function which happens to be the one that tells me the results of the counted pages.

Below is the Log from the debug menu:

Debug log:

//

[XX:XX:XX] {eSixExtend} Query: /comment/search.json?query=user%3Akristal_candeo&page=1 (GET)
Request initiated

[XX:XX:XX] {eSixExtend} Query: /comment/search.json?query=user%3Akristal_candeo&page=1 (GET)
Request OK

[XX:XX:XX] {eSixExtend} Query: /comment/search.json?query=user%3Akristal_candeo&page=2 (GET)
Request initiated

[XX:XX:XX] {eSixExtend} Query: /comment/search.json?query=user%3Akristal_candeo&page=2 (GET)
Request OK

[XX:XX:XX] {eSixExtend} Query: /comment/search.json?query=undefined (GET)
Request OK
//

(Note: All Timestamps have been purposely Redacted)

If this could be fixed, or if you have a quick fix for me to do myself, It would be greatly appreciated.

Also, Thank you for providing the script to begin with, since I never really thanked you personally before now.

Update: When I hover over the results, I've noticed that the comments the scores are reflecting are not even my own comments, but instead are others' who replied to a comment I made. They are both comments from the same post, and are both in reply to the same comment I made, but I have no idea why.

Updated by anonymous