Topic: [Feature] e621.net/account

Posted under Site Bug Reports & Feature Requests

honestly i'd rather see the account link on the front page redirect to the "user's profile page"https://e621.net/users/884003 rather than the user's home page

i personally find the profile page far more useful as it has pretty much everything the home page has and then some, plus it looks nicer! (although i think the only thing it doesn't show is sets, which probably explains why i never use sets)

dripen_arn said:
honestly i'd rather see the account link on the front page redirect to the "user's profile page"https://e621.net/users/884003 rather than the user's home page

i personally find the profile page far more useful as it has pretty much everything the home page has and then some, plus it looks nicer! (although i think the only thing it doesn't show is sets, which probably explains why i never use sets)

I blive that Bitwolfy's script does exactly that, and much more.

leomole

Former Staff

Redirecting to your profile page might be tricky since each user's profile page has a different url.

Why the front page?

cutefox123 said:
I blive that Bitwolfy's script does exactly that, and much more.

i've been using re621 of almost a year now, and if there's a way to edit the front page's tabs the i haven't found it yet

leomole said:
Redirecting to your profile page might be tricky since each user's profile page has a different url.

Why the front page?

because i always log into e6 via auto search, which always leads me to the raw e621.net link, the front page, and because i'm an upvote whore the first place i go to is my profile page. and hitting the account button always fucks with me
i know i should probably just bookmark my profile page or leave it open in a seperate window if i care about it so much, and so i'm going to do that right now

dripen_arn said:
i've been using re621 of almost a year now, and if there's a way to edit the front page's tabs the i haven't found it yet

because i always log into e6 via auto search, which always leads me to the raw e621.net link, the front page, and because i'm an upvote whore the first place i go to is my profile page. and hitting the account button always fucks with me
i know i should probably just bookmark my profile page or leave it open in a seperate window if i care about it so much, and so i'm going to do that right now

wait but, RE621 replaces the accounts button with the profiles button automatically I thought... well if not you can manually change it https://imgur.com/a/Rg2LskE

dripen_arn said:
i've been using re621 of almost a year now, and if there's a way to edit the front page's tabs the i haven't found it yet

Nope, sorry.
The script breaks on the front page in several fascinating ways, so unfortunately there is pretty much 0 chance of me doing anything with it.
One of those reasons has to do with the fact that the front page does not provide the current user's data, unlike every other page on the site. So even if the script could run on that page, there isn't a way for me to determine where the profile link would lead.

bitwolfy said:
Nope, sorry.
The script breaks on the front page in several fascinating ways, so unfortunately there is pretty much 0 chance of me doing anything with it.
One of those reasons has to do with the fact that the front page does not provide the current user's data, unlike every other page on the site. So even if the script could run on that page, there isn't a way for me to determine where the profile link would lead.

I only see these 3 cookies+4 session keys:

_danbooru_session
gw
remember

hide_news_notice
mode
show-relationship-previews
video_volume

I'm actually curious how it calculates the URL for "/html/body/div[1]/div[3]/ul/li[7]/a" (XPath) and "html body.c-users.a-home.resp div#page div.section ul.link-page li a" (CSS Path).
Oh hell, it's in the source.

<li>&raquo; <a href="/users/27213">My profile</a></li>

You'd have to make a request for the /users/home HTML, then walk it to parse that string.

I wonder if there's a way to make it 'autoclick' a hyperlink on next page load in said scripts. If you made a separate (chained) script for the /users/home page to click that link, it would probably work, but break viewing that home page. XD

A clean fix (but would have to be implemented serverside) would be to provide that data on the home page in some hidden div with a unique ID?

alphamule said:
A clean fix (but would have to be implemented serverside) would be to provide that data on the home page in some hidden div with a unique ID?

Other pages provide this kind of data in <meta> tags in the page's <head> section.
That includes the user's name, ID, blacklist, and so on.

A clean fix would have the cover page also provide this information.
Requesting /users/home, and then parsing HTML sounds like a fool's errand.

Updated

bitwolfy said:
Other pages provide this kind of data in <meta> tags in the page's header.
That includes the user's name, ID, blacklist, and so on.

A clean fix would have the cover page also provide this information.
Requesting /users/home, and then parsing HTML sounds like a fool's errand.

Yeah, it's how we get those awful sites like Twitter. Request a request to run code to make a request to run code to make a request? :D I have no idea HOW that site is just so slow, yet Nitter instances do it almost instantly, other than the obvious: Too many chefs and too many meals (bloat)

  • 1