Signal Boost: SignalBoost✔ bookmarklet
astolat posted: SignalBoost bookmarklet
Okay, here is the little bookmarklet -- it's pretty limited, but it serves my own laziness, so I share it FWIW and if anyone has the time and wants to upgrade it, go for it and drop me a comment and I'll (ha ha) signal boost any new versions!
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
And the first comment on it was somebody hoping people would check for access lock when using it, and, well, my coding fingers were itchy (they get itchy about every six months, which is not actually often enough to build skill, sadly), and
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
(Now I know how to make javascript bookmarklets! I hope I don't go mad with power.)
All you do is log in to DW, go to the page you want to signal boost, highlight any text you want to quote, and then click on the bookmarklet. If it's access-locked, you'll get a pop-up warning you and asking you if you want to continue. On any other webpage, it will automatically redirect to the DW posting window.
To set it up, make a new bookmark, and copy-paste the following as the URL:
(If I get around to it, I may figure out how to make it open in a new tab, too. If so I'll update this post.)
no subject
no subject
no subject
Heh, that was my reaction, too.
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject
Do you view entry pages in a custom style? It's checking for a certain html class to see if the post is locked, and that works on all the site styles, but it's possible a custom style could mess with that, maybe? (I am not a styles expert.)
no subject
no subject
no subject
no subject
Try this one, it's testing for a different (and possibly more? Or less? accurate) classname:
...if that doesn't work, we may need somebody who actually knows what they're doing.
no subject
no subject
no subject
no subject
no subject
....although that appears to be a 'write to database' type error? This should not be writing to a database...
no subject
The one you posted upthread works great. Thank you for all your work on this!
no subject
no subject
no subject
no subject
no subject
So - sort of for Tumblr users, if they want to do that, but in a way that won't annoy DW people? But there are plenty of people who have been linkblogging on DW for a long time, and this just makes it really easy.
no subject
I appreciate your explaining so much.
I guess I don't know what a bookmarklet is, basically. Thanks again.
no subject
It takes the text you highlighted and copy-pastes it into a preformatted DW post that links to the page using your highlighted text and automatically crediting the author and so on, so all you have to do is press "post", and you have a link post. (You can add more to it if you want.)
A bookmarklet is basically a thing that abuses the ability to put javascript in a URL to let you execute a tiny javascript program by clicking the bookmark - in this case, it executes a program that copies the link info to a posting window, but it can do most things that javascript can do.
I doubt I'll ever use this one because I don't do a lot of just linking to other posts, but if that was a major part of how you blog, this will speed it up a lot and take out all the annoying fiddly bits.
no subject
no subject
no subject
no subject
One thing that I'd love to see in a future iteration would be how to handle this if you want to boost multiple posts into the same post. Testing it in my case ended up with opening two DW post pages and having to copy/paste one into the other. Then again, that isn't really the aim of this, I suppose. It's more about the quick reblog-esque thing. Hmmm.
no subject
/I say, pretending I actually know things about bookmarklets
You might have to jump all the way to a browser extension for that, and browser extensions are definitely beyond my scope!
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject