Fru @ Felidale
3 years ago @Edit 3 years ago
DW Inbox Taggers: Chrome Extension Development check: I‘ve made a first draft that opens all of your unread inbox tags for you. More details below!
There is a link to the testable versions in the comments.
[Please Replurk for visibility]
latest #93
TurtleTrash_Fru
3 years ago
(Posted on my public account, but this is my main.)
TurtleTrash_Fru
3 years ago
Details:
* Does mark any tags it opens as Read by virtue of the opening
* Only opens Comment Replies, Top-level Comments, and New Entry notifications.
* Ignores (does not mark as read!) Circle Updates, Direct Messages, Site Notifications, Deleted notifications, and Unauthorized notifications
TurtleTrash_Fru
3 years ago
THE BIG QUESTION: Right now I haven't solved how to introduce a hard limit on how many tags it opens. It will keep hitting the Next page until it's out of available tags.
立即下載
TurtleTrash_Fru
3 years ago
Is this first draft something you'd like / use, or would you wait until the hard limit issue is solved?
TurtleTrash_Fru
3 years ago
I'm also working on: skipping Edit notifications entirely and possibly marking them as read too.
DehydratedWater
3 years ago
Does this work by logging into DW itself or just checks and does it for any dreamwidth account you have open?
TurtleTrash_Fru
3 years ago
TehMags: Whoever you're logged in as.
DehydratedWater
3 years ago
Hmm, I wonder how that works if someone is using a session manager then, since technically in that case you could be logged into multiple characters at once.
TurtleTrash_Fru
3 years ago
It fires on any Inbox page that opens with a page count, which is one work-around for the "keeps going" issue. You can start on page 3/5 and it'll only open pages 3, 4, and 5.
TurtleTrash_Fru
3 years ago
TehMags: It's a valid question! I've got it opening a new window, so I assume it's whatever DW thinks the default is from where you initiated the extension. (thinking)
TurtleTrash_Fru
3 years ago
I've only tested it in conjunction with LJ Juggler.
DehydratedWater
3 years ago
okay, so that means that it won't open anything in a session manager most likely (or at least with SessionBox, the one I use)
DehydratedWater
3 years ago
Which I mean, not really that much of a problem, just a curious thing I thought of
TurtleTrash_Fru
3 years ago
I could test it out with SessionBox, see how it goes. I genuinely forgot about that one.
TurtleTrash_Fru
3 years ago
I can make it not open in a new window, it just seemed better considering it could open 50+ tags
asuka brain
3 years ago
Hmm.
lazdo
3 years ago
i think i'd need a bit more info about what you mean by "inbox taggers", since people's exact practices wrt using emails to keep track of tags might differ!
TurtleTrash_Fru
3 years ago
Sorry I mean people who use the Dreamwidth Inbox.
lazdo
3 years ago
....see, it's good i asked then. xD
TurtleTrash_Fru
3 years ago
For sure!
TurtleTrash_Fru
3 years ago
TehMags: And you were right, in its current state, it doesn't respect SessionBox sessions.
Seems like it would potentially overload a browser if people don’t delete their notifs regularly & it’s opening every comment reply/top level comment/new entry notif from every page of the inbox
TurtleTrash_Fru
3 years ago
It’s only the unreads!
TurtleTrash_Fru
3 years ago
It always starts on page of the DW Inbox’s unread section
Ohhh okay I misread that (LOL)
chrismas creep
3 years ago
does it run automatically when you open the inbox page or does it only run when you tell it to?
TurtleTrash_Fru
3 years ago
Now I still agree it could overload a browser, but failing to delete notifications wouldn’t be why.
Yeah, that makes sense. Ty for the clarification tho!
TurtleTrash_Fru
3 years ago @Edit 3 years ago
millennialfalcon: It runs anytime it sees the URL format ://.dreamwidth. org/inbox/?page=*&view=unread
chrismas creep
3 years ago
so if you want to avoid it opening a bajillion tabs right away, you'll want to curate/mark read your inboxes before installing
TurtleTrash_Fru
3 years ago
Or you can start several pages back too
TurtleTrash_Fru
3 years ago
Like my personal one I never clean out had 133 pages and I started it on page 131 for testing
TurtleTrash_Fru
3 years ago
But yes if I release it as is, you’d want to curate first.
TurtleTrash_Fru
3 years ago
Or I could figure out how to do the hard limit before even releasing v1
i personally tag from the unread section of the inbox; i'm not sure if that's a useful data point
TurtleTrash_Fru
3 years ago
(Thank you everyone for your input so far!)
TurtleTrash_Fru
3 years ago
yaysunshine: It's useful if you find the process of opening tags redundant like I do! (LOL)
it might be nice if it created a button you could click to open the tags, instead of doing it automatically? :|a i'm also a firefox person mostly but I use chrome sometimes
TurtleTrash_Fru
3 years ago
That's basically what it does, yeah. You can click the "Unread" section and it doesn't fire until you start navigating to page 2.
TurtleTrash_Fru
3 years ago
Whereas if you click the Extension button it opens in a view that will trigger it.
TurtleTrash_Fru
3 years ago
But if I can figure out the hard limit, that'll be a prompt that comes up anyway before the extension fires.
TurtleTrash_Fru
3 years ago
Would anyone be interested in trying it out in its current form? (thinking) I can give you the unpacked version -- basically the raw files, not through the Chrome store.
Angry Popoto
3 years ago
ChickletLARP: I remember you talking about wanting something like this semi-recently in order to help track or organize your DW Inbox. Does this seem like something that you’d like to check out and/or help develop?
So, if it doesn't fire until you start navigating to page two... does that mean you have to trigger it through the extension view if you have less than 15 tags?
TurtleTrash_Fru
3 years ago
Yeah the idea was that it wouldn't trigger too easily by accident
TurtleTrash_Fru
3 years ago
Otherwise you kick it off by clicking the extension icon
yeah, just wanted to see if my assumption there was correct XD
TurtleTrash_Fru
3 years ago @Edit 3 years ago
No problem!
TurtleTrash_Fru
3 years ago
HECK YEAH!! I got the hard limit working.
ChickletLARP
3 years ago
aikonamika: Ty for thinking of me, still not fully sure follow what this is, though. If it just opens everything into separate tabs, that could be awesome. Or... could crash my computer. >.<
frudence: i almost exclusively tag via my dw inbox so i would love to test this!
sòsyè soti
3 years ago
I would be interested in testing this
sòsyè soti
3 years ago
I tag from my dw inbox since email notifs are wonky and also I have to use outlook (since my gmail doesn't recognize dw emails at all anymore)
SariAAAAAAAH
3 years ago
unfortunately I use firefox for the most part, but this is an interesting idea
SariAAAAAAAH
3 years ago
I think the one thing I would be concerned about is the potential for those tags it's auto-opened to get lost because I know I had an issue with Chrome for a while when I used it where I'd accidentally double-open the browser after it crashed or something like that, and that'd wipe out my tabs from the previous session
SariAAAAAAAH
3 years ago
I mean it's not like it gets rid of the email, so there's that, but that's definitely a thing that could get me potentially forgetting my tags XD
SariAAAAAAAH
3 years ago
not to say that this is a thing that would Need Fixing, if there even was a way, just a small thing I picked up thinking about my own tagging habits
TurtleTrash_Fru
3 years ago
sagesaria The good news is that the core of this code is written in javascript, so I might be able to port it to Firefox next.
TurtleTrash_Fru
3 years ago
ChickletLARP: Yes it does open everything in separate tabs, but now with an upper limit, you could open like 5 at a time!
TurtleTrash_Fru
3 years ago
spacewitchery: That was precisely what drove me to finally want to make this
ChickletLARP
3 years ago
That sounds really useful! And it opens everything that doesn't have a response yet, or...?
TurtleTrash_Fru
3 years ago
well anything Unread
TurtleTrash_Fru
3 years ago
And skips non-threaded notifications
ChickletLARP
3 years ago
Interesting. I'd give it a shot.
SariAAAAAAAH
3 years ago
it's definitely a good idea!
TurtleTrash_Fru
3 years ago
Trying to figure out the best way to let you folks download this zip file to try it out
TurtleTrash_Fru
3 years ago
Oh google drive, duh
TurtleTrash_Fru
3 years ago
Visit chrome://extensions and choose to install an "Unpacked" extension.
ChickletLARP
3 years ago
TY, will look into it when we get back fro the trash
sòsyè soti
3 years ago
installed! I'll check it out as soon as I switch characters
TurtleTrash_Fru
3 years ago
Well dang I definitely broke the skip functionality.
ChickletLARP
3 years ago
None of it even opens for me >.<
ChickletLARP
3 years ago
(Sorry, tech breaks if I so much as think about it)
TurtleTrash_Fru
3 years ago
I'll DM you
TurtleTrash_Fru
3 years ago
Alright, v1.0.1 dwinboxopener_v101.zip
omigosh this works EXACTLY like how i go through my dw inbox - i feel like this is already super helpful for me, thank you!!
TurtleTrash_Fru
3 years ago
Yay! =^^=
I am interested but I am also a firefox user
TurtleTrash_Fru
3 years ago
I promise if I iron out the kinks of this logic I'll look into making it work for Firefox!
TurtleTrash_Fru
3 years ago
Here we go again, v1.0.2 dwinboxopener_v102.zip
EsperBot
3 years ago
Chrome extensions SHOULD just work in Firefox
TurtleTrash_Fru
3 years ago
That would be EXCELLENT
🧊🔥
3 years ago
Most of them did when I checked in on firefox again and this is << cool as heck Imma check this out rn.
ChickletLARP
3 years ago
The extension is awesome.
TurtleTrash_Fru
3 years ago
Thank you! :-) I hope to return to working on ironing out more kinks with it soon!
ChickletLARP
3 years ago
It kept giving me a heart attack at first because it showed an empty inbox before it swapped to all are there, but marked as read, lol.
ChickletLARP
3 years ago
The only thing I actively don't like, honestly, I suspect is a browser thing ad not anything you have nay power over. (Every time it opens a new tab it pops that window to the front so I can't, say, check plurk while it is opening all my messages in another window)
TurtleTrash_Fru
3 years ago
Ah yeah that one is by design in order to get the tags open
TurtleTrash_Fru
3 years ago
I might be able to do it more in the background though
TurtleTrash_Fru
3 years ago
That’s the kind of finessing I want to iterate on
ChickletLARP
3 years ago
Right now I set it up then go play on my phone a while, lol
back to top