Read the rules before proceeding!

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

Posted under e621 Tools and Applications

Human-Shaped said:
Been a year but I'll ask again :]

I love the 'Blackhole Blacklist' feature! Could you possibly do the same for the 'Random' button on the Posts page?

It's silly but
1.) It's a potential time sink if you're the curious type
2.) You can still land on blacklisted stuff which sucks

Maybe that and other parts of the site in general having the option to be blackholed/hidden could be useful. Less clutter is nice :]

Hi, I've quickly clobbered together a tiny script to get rid of the Random links. (You may need to quote me to copy the code properly, but it should work fine.)

Also, you can always search for order:random if you want random posts without seeing blacklisted content.

Updated by anonymous

EsalRider said:
Hi, I've quickly clobbered together a tiny script to get rid of the Random links. (You may need to quote me to copy the code properly, but it should work fine.)

Also, you can always search for order:random if you want random posts without seeing blacklisted content.

It works! Thanks so much :]

Updated by anonymous

I wish that I didn't have to go in and remove/modify bits of code in order to remove features that I don't want like tag blacklinks.

Updated by anonymous

Is there a way that I can hide my favorites?

Updated by anonymous

Out of curiosity, can swapping certain words in that script make it hide other things on the site?

Random was the biggest timesink, but some others are 'Trending Tags' and 'Common Tags' on index pages, and the 'Source' under statistics on show pages.

Just trying to make things simpler and less distracting, haha~

Updated by anonymous

Human-Shaped said:
Out of curiosity, can swapping certain words in that script make it hide other things on the site?

Random was the biggest timesink, but some others are 'Trending Tags' and 'Common Tags' on index pages, and the 'Source' under statistics on show pages.

Just trying to make things simpler and less distracting, haha~

If you want to get rid of stuff the script adds I'd suggest right click -> view element on firefox or whatever the chrome equivalent is and then looking at the name of the element you want to get rid of and then ctrl+f on the eSix_Extend.user.js and chopping bits out of the code until the stuff you don't want is gone but the script still functions.

That's what I did to get rid of stuff like the blacklinks next to tags, the big old E621 in the top left, the common tags section and changed some of the CSS back and stuff like that.

Updated by anonymous

darryus said:
If you want to get rid of stuff the script adds I'd suggest right click -> view element on firefox or whatever the chrome equivalent is and then looking at the name of the element you want to get rid of and then ctrl+f on the eSix_Extend.user.js and chopping bits out of the code until the stuff you don't want is gone but the script still functions.

That's what I did to get rid of stuff like the blacklinks next to tags, the big old E621 in the top left, the common tags section and changed some of the CSS back and stuff like that.

I have Chrome and use Tampermonkey for Extend. Is cutting things out of the script better/worse than making a new script for specific things? Like how EsalRider made one that gets rid of the Random links?

I've never changed a script before so I don't wanna mess something up, lol

Updated by anonymous

Human-Shaped said:
I have Chrome and use Tampermonkey for Extend. Is cutting things out of the script better/worse than making a new script for specific things? Like how EsalRider made one that gets rid of the Random links?

I've never changed a script before so I don't wanna mess something up, lol

Open the script in Notepad++ and make the change and then save the file without closing the window and then refresh the page in your browser if the change you made breaks the script you can just undo what you did that broke it.

If you want you can also make a back up of the original version of the script.

I also have no idea how to script so most of what I did was just trial and error.

Updated by anonymous

Human-Shaped said:
Out of curiosity, can swapping certain words in that script make it hide other things on the site?

Random was the biggest timesink, but some others are 'Trending Tags' and 'Common Tags' on index pages, and the 'Source' under statistics on show pages.

Just trying to make things simpler and less distracting, haha~

Adding is more preferable than striping out, unless you wanna undo changes the script makes, of course. If you just wanna hide certain things you can modify the script's Internal CSS1 by adding lines to it. For example, on line 486, add "a[href='/post/random'] {display:none}", (note the comma and double quotes) to hide the "Random" link on posts. Or better yet, install Stylish and add that same text to it (without them quotes and comma) ;)

Also, to take out the site's branding (big e621 text) comment line 525 and to prevent the script from removing "e621" and "My account" links from the top bar, comment lines 653 to 656

If you wish to modify other parts I can guide you c:

- - - - -

1 The Internal CSS is between lines 363 and 515 (ye, it beeeg), or look up id:"eSixExtend_CSS"
The rest of the functions are literally scattered all over the script :,V

Updated by anonymous

Xch3l said:
Adding is more preferable than striping out, unless you wanna undo changes the script makes, of course. If you just wanna hide certain things you can modify the script's Internal CSS1 by adding lines to it. For example, on line 486, add "a[href='/post/random'] {display:none}", (note the comma and double quotes) to hide the "Random" link on posts. Or better yet, install Stylish and add that same text to it (without them quotes and comma) ;)

Also, to take out the site's branding (big e621 text) comment line 525 and to prevent the script from removing "e621" and "My account" links from the top bar, comment lines 653 to 656

If you wish to modify other parts I can guide you c:

- - - - -

1 The Internal CSS is between lines 363 and 515 (ye, it beeeg), or look up id:"eSixExtend_CSS"
The rest of the functions are literally scattered all over the script :,V

Ah, okay~

That would be nice! EsalRider made one that takes care of the Random links, so that one's good. If you could guide me on removing the 'Trending Tags' and 'Common Tags' on post/index pages, and the 'Source' under statistics on post/show pages, I'd be grateful~

Updated by anonymous

Human-Shaped said:
Ah, okay~

That would be nice! EsalRider made one that takes care of the Random links, so that one's good. If you could guide me on removing the 'Trending Tags' and 'Common Tags' on post/index pages, and the 'Source' under statistics on post/show pages, I'd be grateful~

Easy peasy. For "Trending Tags" and "Common tags" add "div.sidebar div:not(:nth-child(1)) {display:none}" to the internal CSS or Stylish (without quotes). That line will just leave you with the search box

For the Statistics one is easier peasier, add "div#stats {display:none}" to the same area.

:)

Updated by anonymous

Xch3l said:
Easy peasy. For "Trending Tags" and "Common tags" add "div.sidebar div:not(:nth-child(1)) {display:none}" to the internal CSS or Stylish (without quotes). That line will just leave you with the search box

For the Statistics one is easier peasier, add "div#stats {display:none}" to the same area.

:)

Huge noob here, but when you say internal CSS do you mean making a new script in Tampermonkey, or copy-pasting that "div" stuff in Extend's current script?

Or, is it that menu you get when you right click/inspect?

I tried putting

"div.sidebar div:not(:nth-child(1)) {display:none}
div#stats {display:none}"

(without the quotes) in Extend's current script, but that just made some things not work properly. Obviously I'm doing something wrong xD

I changed it back to normal, so at least I can do that right -w-

Updated by anonymous

Human-Shaped said:
Huge noob here, but when you say internal CSS do you mean making a new script in Tampermonkey, or copy-pasting that "div" stuff in Extend's current script?

Or, is it that menu you get when you right click/inspect?

I tried putting

"div.sidebar div:not(:nth-child(1)) {display:none}
div#stats {display:none}"

(without the quotes) in Extend's current script, but that just made some things not work properly. Obviously I'm doing something wrong xD

I changed it back to normal, so at least I can do that right -w-

Oops. Yeah, by internal css I mean the one on the script. Or if it's better for you, get Stylish ( Firefox / Chrome )

Open Stylish, then click the three-vertical-dots button and then "Create New Style". On it, you can paste those lines in the "Code" box: On "Applies to" change it to "URLs on the domain" and type "e621.net" on the box that appears, give it a name and save it.

You should have something like this

Updated by anonymous

Xch3l said:
Oops. Yeah, by internal css I mean the one on the script. Or if it's better for you, get Stylish ( Firefox / Chrome )

Open Stylish, then click the three-vertical-dots button and then "Create New Style". On it, you can paste those lines in the "Code" box: On "Applies to" change it to "URLs on the domain" and type "e621.net" on the box that appears, give it a name and save it.

You should have something like this

It worked! Thanks so much for the time and effort helping me~ :]

The only remaining problem is the 'hide the sidebar except for search' is working on post/show pages too, and I only need it to work on index pages. Is there a away around that?

I tested the 'hide statistics' script by itself and it works fine. But since I actually use the post page tags, I gotta figure out how to make the script for hiding sidebar stuff only work on index pages... Or maybe make it say 'hide all sidebars but IF there are just regular post page tags, don't?' @[email protected]

Updated by anonymous

Human-Shaped said:
It worked! Thanks so much for the time and effort helping me~ :]

The only remaining problem is the 'hide the sidebar except for search' is working on post/show pages too, and I only need it to work on index pages. Is there a away around that?

I tested the 'hide statistics' script by itself and it works fine. But since I actually use the post page tags, I gotta figure out how to make the script for hiding sidebar stuff only work on index pages... Or maybe make it say 'hide all sidebars but IF there are just regular post page tags, don't?' @[email protected]

D'oh! Forgot that they have the same name on both pages! >_<

I'll look up how to differentiate between the pages, so gimme a sec

Edit: Alright, this is how the lines should look like

/* Hide everything but search box on index pages */
div#post-list div.sidebar div:not(:nth-child(1)) {display:none}
 
/* Hide "Statistics" section on post pages */
div#post-view div.sidebar div#stats {display:none}

Thank pete it did not require complex code but just a really simple addition n_n;

Updated by anonymous

Xch3l said:
D'oh! Forgot that they have the same name on both pages! >_<

I'll look up how to differentiate between the pages, so gimme a sec

Edit: Alright, this is how the lines should look like

/* Hide everything but search box on index pages */
div#post-list div.sidebar div:not(:nth-child(1)) {display:none}
 
/* Hide "Statistics" section on post pages */
div#post-sidebar div#stats {display:none}

Thank pete it did not require complex code but just a really simple addition n_n;

We're getting closer! owo

That did differentiate the pages, so index sidebars are hidden and post tags are there. But now statistics are back xD

Is it just me?

Updated by anonymous

Human-Shaped said:
We're getting closer! owo

That did differentiate the pages, so index sidebars are hidden and post tags are there. But now statistics are back xD

Is it just me?

There was a typo, sorry! I corrected it on my post c:

Updated by anonymous

Xch3l said:
There was a typo, sorry! I corrected it on my post c:

That did it! owo

Thanks so much for your patience with me, and everything you do for that matter. You've improved this site in so many ways, haha~

Yeah for hiding stuff like that, I often wonder if esix will ever have a 'simplify everything' option as far as the site layout goes. Who knows, lol. At least we have stuff like Stylish to cut down on clutter here and there.

I'm still waiting for them to switch to not needing cookies for blacklists anymore. A couple years ago I heard that if that happened, we'd have nearly-infinite space instead of the 3900 character limit. Sounded pretty cool xD

Updated by anonymous

Heya, so as I posted on blip #80634, blip #80635 and blip #80638, I'm releasing the rewrite of the script ("let's call it an Open Beta") in its current state as I think it's stable enough to show what do I have right now.

At first glance it looks like the original version but it's still missing a lot of things while at the same time, having new ones. I'll list them below. Also, a link for the current dev version will be at the bottom of this post <3

Missing features:

  • Formatting buttons
    Updating of subscriptions
    Updating of custom links
    Expansion of comment text areas (and different font)
    Pool/Set reorganization
    Post Source helper
    Common tags
    Hotkeys customization (see note 5)
    Pretty much all settings present in eSixExtend1

New features:

  • Choose between ''Classic Mode'' and "New Mode" ( smaller bar that opens a full panel on click). "NM" glows telling you about this click him! :D
    Better notifications (glowing item instead of Italicising them for better attention-grabbing) + red dot when in "New Mode"
    Multiple profiles support (should work, haven't tested it :T )
    Separate "Favorite" / "Unfavorite" hotkey as HIMofangels pointed out on forum #251656
    Automatic scrolling of long user names when hovering comments (it was an old script that I finally added)
    Prolly a couple more I'm forgetting right now :X

Planned features:

  • Better subscription updating/managing (framework is there, just not implemented yet)
    In-page preferences dialog for the script ("P▶" on the bar, "Preferences" on the panel; not working either yet, burps an error message)
    Touch-like scrolling and Pinch zooming (tempting with the newest Laptop/PC touchscreens ;) )
    More attention from my part
    Ideas?

Notes:

  • "Posts" and "Upload limit" aren't very accurate because the API doesn't expose counts for pending posts or base upload limit (both are considered 0 and 10 when displaying that line)
    Previous settings should carry to this version (to make migrating painfully easy)
    Notification "beeping" doesn't go away (unless you've caught up with your subscriptions and a few select custom links - post and comments searches)
    "Favorites" count doesn't update except the first time it was installed
    Current avaiblable hotkeys are: Fave/unfave ("F"), Upvote ("G") and Downvote ("D")
    Scrolling on the user links section inside the panel seems jerky at times. Scrollbar doesn't display unless you scroll down
    Subscriptions dialog is really, really primitive right now
    For some reason, "Subscriptions" doesn't show up when clicking it from the panel (New Mode) but from the userbar does (Classic Mode)
    Only thing that remembers is if you've tried New Mode and which mode you're using
    Might not work completely with Greasemonkey. Since there's no Firefox support above v52 on Windows XP, I can't test it on it :/ (why am I still running WinXP? See blip #78351)

Since I consider it like an "open beta", bug reports, suggestions, stuff than can be improved or things I'm totally missing are, as always, more than welcome c:

Current version (180504.50)

Updated by anonymous

Hey guys, I just realized I forgot to post a patch that was supposed to go to the original version. Since I can't access Firebase1 anymore you'll have to edit the script on your ends.

So, please replace lines 732 and 733 with this:

// Prevent checking for updates if link is not up to date already
        // or before 5 minutes have passed
        if((ublink.nextCheck || 0) > rightNow() || ublink.skip == true || ublink.last != ublink.current) return;
        ublink.nextCheck = rightNow() + 300000;

What this does is add a small cooldown to userlink updater. What it does right now: it checks for updates on every page load (up to 10 could be checked at the same time) which on a single page doesn't seem much but I have been told that people rarely open up one or two tabs :V . So it was brought to my attention (thanks Kira!) that it's helping cause some strain on the server with its way of checking for updates.

After applying this, checks should be done every 5 minutes, thus making the servs sweat less c:

- - - - -

1 Firebase is where I'm hosting the original version, where as the current, rewritten version is on my old computer

tsai said:
Thanks for the update :)

You're welcome~

Updated by anonymous

Thanks for further development on an awesome script!

Xch3l said:
Since I can't access Firebase1 anymore you'll have to edit the script on your ends.

Have you considered using github for hosting? That way you wouldn't have to rely on Firebase, or on a dynamic ip (I'm guessing directly to your computer?). It's free and has the added benefits of version history, issue tracking, and people can submit pull requests.

Updated by anonymous

Uh... Version 180517.01 failed to execute. The console said createElement on line 22 was undefined. Changing it to document.createElement solved the probem. (Using latest Google Chrome on Win10 x64)

Updated by anonymous

BlueTibbit said:
Thanks for further development on an awesome script!

Have you considered using github for hosting? That way you wouldn't have to rely on Firebase, or on a dynamic ip (I'm guessing directly to your computer?). It's free and has the added benefits of version history, issue tracking, and people can submit pull requests.

You'd be surprised! That's another reason why I wanted to rewrite the script, and why it's sectioned like it is, so it can be split and/or rebuilt quickly :D

EsalRider said:
Uh... Version 180517.01 failed to execute. The console said createElement on line 22 was undefined. Changing it to document.createElement solved the probem. (Using latest Google Chrome on Win10 x64)

Ah, thing is because I moved the debugging section to be the topmost, making the monkey wonder where createElement is (few lines after). Actually, relocating that section to the bottom (where it was), or as I just did, scares the buggo (at least on Firefox 52 :x)

Updated by anonymous

For some reason when I have eSix Extend installed on FireFox, it refuses to let me log in. Whenever I log in, it just takes me to the user page, but logged out, eg. Login, Sign Up, ect. The userbar shows that it detects I'm logged in, but I can't do anything I could normally do logged in.

Updated by anonymous

CherenTheCat said:
For some reason when I have eSix Extend installed on FireFox, it refuses to let me log in. Whenever I log in, it just takes me to the user page, but logged out, eg. Login, Sign Up, ect. The userbar shows that it detects I'm logged in, but I can't do anything I could normally do logged in.

Huh, that's a weird one. Afaik, neither versions mess with cookies in any way past reading your user name nor read your input. Speaking of, which version are you running? Any error logs? Does it add eSix Extend to the lower-left corner of your screen?

Maybe related, what are your cookie settings in "= > Options > Privacy & Security"? (see https://support.mozilla.org/en-US/kb/enable-and-disable-cookies-website-preferences )

Updated by anonymous

Xch3l said:
Huh, that's a weird one. Afaik, neither versions mess with cookies in any way past reading your user name nor read your input. Speaking of, which version are you running? Any error logs? Does it add eSix Extend to the lower-left corner of your screen?

Maybe related, what are your cookie settings in "= > Options > Privacy & Security"? (see https://support.mozilla.org/en-US/kb/enable-and-disable-cookies-website-preferences )

I'm not seeing "eSix Extend" in the corner, but the Userbar is there. I'm specifically using the Greasemonkey script linked in the first post. I don't know if it's related, but having userscripts for FurAffinity installed made it constantly log me out too. I've already triple checked my cookie settings, they're set to stay until they expire.

Updated by anonymous

For some reason, "Find Source" doesn't appear on post #562937
Edit | Respond | Download | Full Size

On every other post, it's
Edit | Respond | Download | Full Size | Find Source

Updated by anonymous

CherenTheCat said:
I'm not seeing "eSix Extend" in the corner, but the Userbar is there. I'm specifically using the Greasemonkey script linked in the first post. I don't know if it's related, but having userscripts for FurAffinity installed made it constantly log me out too. I've already triple checked my cookie settings, they're set to stay until they expire.

Weird. Still sounds like you may have cookies disabled or corrupted. Did you try clearing them? I know FA has a bug where it sets cookies to expire too soon (iirc, a day or so) unless you're there frequently but not here :/

Munkelzahn said:
For some reason, "Find Source" doesn't appear on post #562937
Edit | Respond | Download | Full Size

On every other post, it's
Edit | Respond | Download | Full Size | Find Source

It does for me. You sure you're reading right? 'cause there's no "full size" option. I think because the image itself is not big enough for two sizes

This is on my side: Edit | Respond | Download | Find Source

Updated by anonymous

Xch3l said:
Weird. Still sounds like you may have cookies disabled or corrupted. Did you try clearing them? I know FA has a bug where it sets cookies to expire too soon (iirc, a day or so) unless you're there frequently but not here :/

It does for me. You sure you're reading right? 'cause there's no "full size" option. I think because the image itself is not big enough for two sizes

This is on my side: Edit | Respond | Download | Find Source

I switched to Tampermonkey from Greasemonkey and that fixed it, somehow. On the "Find Source" thing, it's not there for me either, Full Size appears, but not Find Source.

https://steamuserimages-a.akamaihd.net/ugc/920305200161527942/FC96487C087A89C8F52597D51616C01BEE2333EC/

Updated by anonymous

Hi again :]

So last time I learned we can't make the blacklist cause each 'post/index' page to act as if you put a '-whatever' tag in the search bar to prevent the blacklisted thumbnails from even loading in the first place. You know, so that they don't appear for a second when loading a page (which they do a lot for some reason)

An easy fix for this is to just bookmark pages with your preferred '-whatever' tags in the search bar and just go to those bookmarks. But when you click on the regular 'Posts' page or click on an artist's tag to see what else they make, obviously your minus tags in the search bar are gone.

So, random idea: Would it be possible for Extend to make every 'post/index' page's search bar have at least one '-whatever' tag active by default/on any tag's page? I mean sure, tag space on the search bar would go from 6 to 5, but I can live with that @[email protected]

Edit, another cool benefit: You could make so the permanent tag in the search bar is something like '-favcount:>x,' so no matter what page or tag you go to, only the good stuff is gonna show up. And faster since there'd be less to load :D

Updated by anonymous

@Xch3l: Hey, what happened to the newer version of this script recently? The new version doesn't show any of the links after the mode switch option (not just my custom links) after I updated the script to the latest version.

I'm using Tampermonkey on both Firefox and Chrome. The script's debug bar shows the following:

Requesting '/user/show.json?name=BooruHitomi'
eSixExtend V180924.00
Got 200 on /user/show.json?name=BooruHitomi. Calling fn
Callback error: link.url is undefined

Tampermonkey is also showing "'variable' is already defined" errors on lines 1036, 1199, 1529, 1582, 1583, and 1585.

Updated by anonymous

BooruHitomi said:
@Xch3l: Hey, what happened to the newer version of this script recently? The new version doesn't show any of the links after the mode switch option (not just my custom links) after I updated the script to the latest version.

I'm using Tampermonkey on both Firefox and Chrome. The script's debug bar shows the following:

Requesting '/user/show.json?name=BooruHitomi'
eSixExtend V180924.00
Got 200 on /user/show.json?name=BooruHitomi. Calling fn
Callback error: link.url is undefined

Tampermonkey is also showing "'variable' is already defined" errors on lines 1036, 1199, 1529, 1582, 1583, and 1585.

Well, it's still a fraction of what classic version is but I'm still poking it every now and then (in other words, it's not even finished c: )

I'll look at it now. Must have been the way links are handled. Though the second thing confuses me. Is there a line that reads Userscript 'console' calls offsets lines by 492. This is from line 17? If so, from which line does it come? (should read 20, forgot to update the message :,v )

Edit: Is there a log about the error too?

Edit2: Can you access the preferences? If so, click on the "LS" tab (last one, after "About") and look for something like this

"user_links": [
  {
    "title": "Replies to your comments",
    "url": "/comment/search?query=Xch3l",
    "last": 3996511,
    "current": 3996511,
    "nextCheck": 1532931521933
  }
]

oh also, please not that this version does not update things

Updated by anonymous

Xch3l said:
Well, it's still a fraction of what classic version is but I'm still poking it every now and then (in other words, it's not even finished c: )

I'll look at it now. Must have been the way links are handled. Though the second thing confuses me. Is there a line that reads Userscript 'console' calls offsets lines by 492. This is from line 17? If so, from which line does it come? (should read 20, forgot to update the message :,v )

Edit: Is there a log about the error too?

Yep. GreaseMonkey userscript calls to 'console' offset lines by 492. This is from line 20.

Here's the full log from my Firefox console:

GreaseMonkey userscript calls to 'console' offset lines by 492. This is from line 20 userscript.html:24:3
<anonymous>
moz-extension://2bd7841c-e5d0-4e53-ae28-ea0616d40339/userscript.html:24:3
<anonymous>
moz-extension://2bd7841c-e5d0-4e53-ae28-ea0616d40339/userscript.html:22:2
g</< eval:2:479 <anonymous>
moz-extension://2bd7841c-e5d0-4e53-ae28-ea0616d40339/userscript.html:2:1
<anonymous>
moz-extension://2bd7841c-e5d0-4e53-ae28-ea0616d40339/userscript.html:1:68
<anonymous>
moz-extension://2bd7841c-e5d0-4e53-ae28-ea0616d40339/userscript.html:1:15
<anonymous>
moz-extension://2bd7841c-e5d0-4e53-ae28-ea0616d40339/userscript.html:1:2
g</< eval:2:479 b eval:1:409 E_u eval:3:135 create/t< eval line 1 > Function:63:96 ka eval line 1 > Function:61:371 create eval line 1 > Function:72:334 e eval line 1 > Function:16:154
Loading failed for the <script> with source “https://js-agent.newrelic.com/nr-1071.min.js”. 66904:1
[Show/hide message details.] TypeError: link.url is undefined[Learn More] eval line 2 > eval:1591:13
createUserbar
moz-extension://2bd7841c-e5d0-4e53-ae28-ea0616d40339/userscript.html:1591:13
StartExtend
moz-extension://2bd7841c-e5d0-4e53-ae28-ea0616d40339/userscript.html:1626:5
<anonymous>
moz-extension://2bd7841c-e5d0-4e53-ae28-ea0616d40339/userscript.html:325:9
Request.runQueue</x.ontimeout<
moz-extension://2bd7841c-e5d0-4e53-ae28-ea0616d40339/userscript.html:275:11
bind/<
https://e621.net/javascripts/application-min.js:17:954

Updated by anonymous

BooruHitomi said:
Yep. GreaseMonkey userscript calls to 'console' offset lines by 492. This is from line 20.

Here's the full log from my Firefox console:

[LOG]

hmm, looking at both this version and V161228, user links are handled the same way. I've also added a check to tell which link errors out. Mind updating again and posting logs?

Updated by anonymous

Xch3l said:
Well, it's still a fraction of what classic version is but I'm still poking it every now and then (in other words, it's not even finished c: )

I'll look at it now. Must have been the way links are handled. Though the second thing confuses me. Is there a line that reads Userscript 'console' calls offsets lines by 492. This is from line 17? If so, from which line does it come? (should read 20, forgot to update the message :,v )

Edit: Is there a log about the error too?

Edit2: Can you access the preferences? If so, click on the "LS" tab (last one, after "About") and look for something like this

"user_links": [
  {
    "title": "Replies to your comments",
    "url": "/comment/search?query=Xch3l",
    "last": 3996511,
    "current": 3996511,
    "nextCheck": 1532931521933
  }
]

oh also, please not that this version does not update things

Xch3l said:
hmm, looking at both this version and V161228, user links are handled the same way. I've also added a check to tell which link errors out. Mind updating again and posting logs?

I've downloaded the script update. I can access the Preferences and the "LS" tab shows my user links (albeit the links are on one wrapped line and I don't see the next check part for my mentions link):

{
  "0": {
    "ctrlEnter_submits": true,
    "user_links": "[{\"title\": \"Mentions\", \"url\": \"/comment/search?query=[userNM]\", \"last\": 4073556, \"current\": 4073556}, {\"title\": \"Comments on your posts\", \"url\": \"/comment?user_id=[userID]\", \"skip\": true}, {...skipping the rest of my links here...}]",
    "subscribed_pools": "[]",
    "subscribed_forums": "[]"
  },
  "285986": {
    "classicMode": true,
    "usedModern": true,
    "ctrlEnter_submits": true,
    "user_links": "[{\"title\": \"Mentions\", \"url\": \"/comment/search?query=[userNM]\", \"last\": 4073556, \"current\": 4073556, \"nextCheck\": 1538018455344}, {\"title\": \"Comments on your posts\", \"url\": \"/comment?poster_id=[userID]\", \"skip\": true}, {...again, skipping the rest of my links here...}]",
    "classic_mode": true,
    "used_modern": true
  },
  "BooruHitomi": {
    "classicMode": true
  },
  "ignore_data_import_for": "[0]"
}

However, now the script's log box is giving me all these messages that say UserLink error. Index [#]: UserLink has no title messages.

Requesting '/user/show.json?name=BooruHitomi'
eSixExtend V180927.01
Got 200 on /user/show.json?name=BooruHitomi. Calling fn
UserLink error. Index 0: UserLink has no title
UserLink error. Index 1: UserLink has no title
UserLink error. Index 2: UserLink has no title
UserLink error. Index 3: UserLink has no title
UserLink error. Index 4: UserLink has no title
UserLink error. Index 5: UserLink has no title
UserLink error. Index 6: UserLink has no title
UserLink error. Index 7: UserLink has no title
UserLink error. Index 8: UserLink has no title
UserLink error. Index 9: UserLink has no title
UserLink error. Index 10: UserLink has no title
UserLink error. Index 11: UserLink has no title
UserLink error. Index 12: UserLink has no title
[...skipping a LOT of lines for this one...]
UserLink error. Index 694: UserLink has no title
UserLink error. Index 0: UserLink has no title
UserLink error. Index 1: UserLink has no title
UserLink error. Index 2: UserLink has no title
UserLink error. Index 3: UserLink has no title
UserLink error. Index 4: UserLink has no title
UserLink error. Index 5: UserLink has no title
UserLink error. Index 6: UserLink has no title
UserLink error. Index 7: UserLink has no title
UserLink error. Index 8: UserLink has no title
UserLink error. Index 9: UserLink has no title

Plus, that new dropdown menu in "Classic mode" that you added have nothing but a ton of textless boxes that link to https://e621.net/forum/show/undefined and I don't see my custom links anywhere. (I'm guessing that's related to all the UserLink errors.)

EDIT: All that above only applies to Firefox. On Chrome, I couldn't even get the new version's bar to show up at all until I cleaned my cookies. This is what the script's log box on Chrome read:

Requesting '/user/show.json?name=BooruHitomi'
eSixExtend V180927.01
Got 200 on /user/show.json?name=BooruHitomi. Calling fn
Callback error: Cannot read property 'length' of undefined. Stack logged to console

Even worse, when I imported my old settings and custom links from a file on Chrome, I get the same above issue all over again. Same lack of bar, same error.

Updated by anonymous

BooruHitomi said:
I've downloaded the script update. I can access the Preferences and the "LS" tab shows my user links (albeit the links are on one wrapped line and I don't see the next check part for my mentions link):

...snip...

However, now the script's log box is giving me all these messages that say UserLink error. Index [#]: UserLink has no title messages.

...snip...

Plus, that new dropdown menu in "Classic mode" that you added have nothing but a ton of textless boxes that link to https://e621.net/forum/show/undefined and I don't see my custom links anywhere. (I'm guessing that's related to all the UserLink errors.)

Yep, it is. I made it skip adding the item if it gives an error (forgot that part ~_~ )

That's strange. I see your links do have "title" and "url"

also wowee, that's a lotta links! :O Do you really have that many or the script just went bonkers

post #766424

OH! I see why your links are like that! For some reason, they are stored as text and the parser just runs through each letter (that's why so many errors.

I'll add a check for that and convert if needed :D

Updated by anonymous

Yes, although I had to disable the old version (which I ran simultaneously along with the new version because it has features that the new version currently lacks like the text formatting toolbar) and scrap my old eSixExtend data to get it to work.

Updated by anonymous

So the Stylish extension just went under recently, but I put the code you made for me into one called 'Stylus' (which does the same stuff, only it doesn't track you like Stylish did) and it still works so hurray for that :]

One thing I noticed about both Stylish and Stylus is that each time I refresh or load a new page, there isn't a brief moment where I can see the stuff that code hides. Everything on Tampermonkey however, still has the problem of being able to see all the things that code hides for a split second loading a page.

Are Stylish/Stylus faster than Tampermonkey or something? o.o

Man I just wish my blacklisted crap would stop appearing for a second every time I load a new page. If esix or extend were as fast as that other code, the blacklisted stuff wouldn't even appear. If only @[email protected]

Updated by anonymous

I has been brought to my attention that the 'classic' version had a breaking bug that prevented the settings page from loading because I forgot browsers changed a lot :V

http://baoh.ddns.net:8000/userjs/eSixExtend/eSixExtendClassic.user.js

That's the fixed version :D

Oh also, you might need to remove the "old" version since I also changed the name to differentiate between Classic and Rewrite

any other thing I might have forgotten? :x

Updated by anonymous

Hm, the rewrite appeared about once, gave me a dialog asking if I wanted to merge my settings, which didn't do anything when I chose to merge, and now it just doesn't appear, with an error of
Requesting '/user/show.json?name=CherenTheCat' eSixExtend V181013.01 Got 200 on /user/show.json?name=CherenTheCat. Calling fn Callback error: pool.posts is undefined. Stack logged to console
in the corner.

Checking my console has
Callback error: pool.posts is undefined Subscription.getUpdated<@moz-extension://6819b4c3-e8f6-4938-bb11-039999d01fdb/userscript.html?id=549dcb0d-df8b-4431-9e3a-18b10cabf204:538:7 bind/<@https://e621.net/javascripts/application-min.js?1531978786:17:954 [email protected]://6819b4c3-e8f6-4938-bb11-039999d01fdb/userscript.html?id=549dcb0d-df8b-4431-9e3a-18b10cabf204:1422:23 [email protected]://6819b4c3-e8f6-4938-bb11-039999d01fdb/userscript.html?id=549dcb0d-df8b-4431-9e3a-18b10cabf204:1661:5 @moz-extension://6819b4c3-e8f6-4938-bb11-039999d01fdb/userscript.html?id=549dcb0d-df8b-4431-9e3a-18b10cabf204:326:9 Request.runQueue</x.ontimeout<@moz-extension://6819b4c3-e8f6-4938-bb11-039999d01fdb/userscript.html?id=549dcb0d-df8b-4431-9e3a-18b10cabf204:275:11 bind/<@https://e621.net/javascripts/application-min.js?1531978786:17:954.

Updated by anonymous

Hey if anyone can help, I can't seem to get my eSix settings to save. Whenever I click the save button at the bottom nothing ever happens and my settings aren't saved. I'm guessing that it might have something to do with the local storage or something? I'm using Firefox

Updated by anonymous

crusty_fire said:
Hey if anyone can help, I can't seem to get my eSix settings to save. Whenever I click the save button at the bottom nothing ever happens and my settings aren't saved. I'm guessing that it might have something to do with the local storage or something? I'm using Firefox

So I finally figured it out on my own... Apparently switching from greasemonkey to tampermonkey fixed my issue

Updated by anonymous

Not sure if you saw my other posts in this page, but the problem is still happening and I don't know how to avoid it. Even after upgrading to fiber-optics internet

The only way to fully avoid blacklisted stuff from appearing for a second would be to prevent access to anywhere but my bookmarked pages with searches that limit search results, but that's no fun. I like to check out what other stuff an artist makes, but the blacklist is so slow there's gonna be a second you see crap ya don't wanna see xP

Updated by anonymous

It seems a new bug has appeared with this script. When I post a comment, it automatically posts the comment, and then it tries to post the same comment again, after refreshing the page. It was blocking off the duplicate post, but just a few minutes ago it double posted the same comment while I was replying to myself. It also happens with forum posts.

Updated by anonymous

apolgy for bad english

where were u wen eSixExtend die?

i was at house waiting for e621 update when phone ring

"eSixExtend is kil"

"no"

I really hope an updated version is possible.... I'm a power user 😭

my TinyAliases, dude... I don't want to go back to a time before TinyAlias, all my muscle memory is wrong.

I've managed to pull out the pool subscriptions via going to Chrome Dev Tools > Application > Storage > Local Storage > https://e621.net. I'm sure you can get stuff like TinyAliases back from it that way, and keep it safe on your computer.

randomguy85 said:
I've managed to pull out the pool subscriptions via going to Chrome Dev Tools > Application > Storage > Local Storage > https://e621.net. I'm sure you can get stuff like TinyAliases back from it that way, and keep it safe on your computer.

I mean, having them isn't really much use when all I can really do is look at a list of letters and words that used to mean something.

darryus said:
I mean, having them isn't really much use when all I can really do is look at a list of letters and words that used to mean something.

Actually youre not entirely lost.

https://beeftext.org/

Beeftext is a hot-text replacer tool and will allow you to at any time replace your tinyaliases with their proper words.

Hello everyone. Been spending this week fixing and patching the script (mostly patching) to work with the current API. So far the script now shows up in the page and its settings are now accessible on a separate link labeled "P▶" allowing you to export them.

Right now, subscribing to new pools or forums doesn't work as the controls needed don't appear (they still look for the old URL format and page layout) and running a check for updates will not work. Hotkeys don't work either but the site already provides those. Maybe many other things but yeah, slowly but surely.

Will be working on getting it to work as before (or good enough) but given the site's codebase update might not be feasable to keep working on it as it is it's a huge ball of sketti code. Will it be the excuse I've been looking for to finally work on the rewrite? Who knows! :P

Current version is 200316.07

xch3l said:

Current version is 200316.07

Thanks for the update, I've had a few issues migrating from version 161228-1 so here goes:
- The Request in line 327 does not work if "https://e621.net" is not part of the URI. According to Firefox it's malformed
- eeBlTagsList was a simple string instead of an array for whatever reason and JSON.parse doesn't load that ofc

Why was I on that ancient version for years? Well.. apparently you're blocking all of my IPs, no matter the registered country.

Running Firefox 74.0 with ViolentMonkey v2.12.7

ewhq said:
Thanks for the update, I've had a few issues migrating from version 161228-1 so here goes:
- The Request in line 327 does not work if "https://e621.net" is not part of the URI. According to Firefox it's malformed
- eeBlTagsList was a simple string instead of an array for whatever reason and JSON.parse doesn't load that ofc

I acknowledge the Classic version has a lot of bugs. I mean, it's huge as fuck :v

Been still doing some fixes on my local copy before updating it so the release version is still behind from what I have. I'll check what's up with those, though I may have fixed them already... dunno...

[...] apparently you're blocking all of my IPs, no matter the registered country.

If you have gotten a nice and welcoming Fuck you I'd like to offer my sincere apologies for that but it has helped reduce the amount of spam, port scanning, garbage and generally bad requests I've gotten to my server. You will also get it if your browser/program is not setting the Host header correctly or if it's not adding a minimum required of headers among other simple legitimacy checks. Not that the program that handles that is smart but hey, It Works™

Also, my filterer can't handle HTTPS requests and are considered as garbage since it can't decode them :v

By "legitimacy" I mean, checking for things a browser is programmed to do like setting the right headers with the same casing, right host name, etc.

Edit: Synced the release version with my copy. I could not find the first error but looking around the code relating to the second, eeBlTagsList is still handled as a string, it just gets converted to and from an array. I did find a line where it might try to parse it but I'm unsure that's the reason...

Version is 200402.01

Updated

xch3l said:
I acknowledge the Classic version has a lot of bugs. I mean, it's huge as fuck :v

That Request bug is in 200316.07, sadly. Also my sessionStorage seems to reset the userId to 79731 (user nan) sometimes, not found the cause yet.

xch3l said:
If you have gotten a nice and welcoming Fuck you I'd like to offer my sincere apologies

I'd have understood if it were my VPN IP but I just get an empty response everywhere (on HTTP!) :p

xch3l said:
eeBlTagsList is still handled as a string, it just gets converted to and from an array. I did find a line where it might try to parse it but I'm unsure that's the reason...

Will try to find that this weekend. If I do, you'll get a message on (probably) Discord :>

Version is 200402.01

I can't figure out how to switch to the latest update

Hello, I've been told that you can't get updates. Taking a look at my logs I can see your script managers are sometimes getting the right files (meta.js first then user.js) but don't seem to be applying the updates.

I'll leave links for them with their versions for easy access:

In the case of Classic, I noticed there was a typo on its version number, written as "201704.01" which should be as pointed before so this might require a reinstall (and an export of settings beforehand). There might be an incompatibility when importing settings so if that happens you can try converting them to the new format here.

How to tell which one is which?

There's a slight difference between scripts but you can tell each other by looking at the user bar that's shown:

Also note that Modern is missing a lot of features so there's a high chance you're using Classic anyway :v

I installed Modern/New first. It said, it found old data and if I want to take them over. I clicked yes.
After looking some at the Modern/New, I've seen some bugs (like I couldn't even update pools, nor could I save or load settings, just nothing happened). Only then I noticed your last sentence.

So I switched to Classic. But... all my pools are gone now :-( They were there at the Modern/New version of the script.
I have an eSix Extended Backup from last year, but upon importing it says "Error parsing backup". And your converter on http://baoh.ddns.net/e6e-converter.html just ignored the file as well (not showing anything at file contents upon selecting the file).

I save my Firefox profile directory regularly. So I restored the old script with it's db file and installed only the Classic version (and disabled the old script because it wasn't overwritten). Still no pools whatsoever.

Previously the last version of the script I ever had (and which worked until the e621 revamp) was:
// @name eSix Extend
// @description Adds several functions to e621 (and similar sites).
// @namespace com.xch3l.userscripts
// @version 161228-1

Small edit:
I was able to export the settings of the Modern/New by rightclicking onto a "download" link beneath the buttons and save the file on my desktop. There inside are are all my pools written. Unfortunately I cannot import this backup into the Classic script.

Edit 2:
I was able to copy the pool subscriptions from the saved settings from the Modern/New to a backup of the Classic, which I could import then. I see the pools in the preferences of the Classic script now.
Upon clicking on Updating, I can see in the console, that it makes lots of gets for the various pools. But in the list, each and every pool lists ?/xx (where xx is probably the number of images the pool has). See https://i.imgur.com/U6CiKR0.png
But: each and every link on a pool leads me to https://e621.net/post/show/undefined

I do admit I'm running an older version of Firefox because the new addon system would kill me several loved addons. I'm running FF ESR 52.9.0 with Greasemonkey for the user scripts. I do not hope but I am afraid this might cause problems?

Updated

Complete noob question here, but I can't seem to download the new version Xch3l posted. I'm getting a "connection reset" error. Is the server down or ?