melannen: Commander Valentine of Alpha Squad Seven, a red-haired female Nick Fury in space, smoking contemplatively (Default)
melannen ([personal profile] melannen) wrote2019-01-16 01:17 pm

Signal Boost: SignalBoost✔ bookmarklet

[personal profile] 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] astolat shared a javascript bookmarklet that automates the (existing custom of) DW-style signalboost/linksharing! It looks like the above part of this post. I think it will be very useful for people who use Dreamwidth differently from me.

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] astolat gave permission to modify, so here's a modified version that automatically warns you if you're about to link to a locked DW post. (I think it would probably also work on locked LJ posts but I haven't accepted LJ TOS, so I can't test that.)

(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.)
runpunkrun: combat boot, pizza, camo pants = punk  (Default)

[personal profile] runpunkrun 2019-01-16 06:40 pm (UTC)(link)
Thanks for sharing this!
trobadora: (Default)

[personal profile] trobadora 2019-01-16 06:43 pm (UTC)(link)
Oh, that's even better, yay! Thank you. :)
isis: (squid etching)

[personal profile] isis 2019-01-16 06:57 pm (UTC)(link)
I think it will be very useful for people who use Dreamwidth differently from me.

Heh, that was my reaction, too.
ruric: (Default)

[personal profile] ruric 2019-01-16 07:12 pm (UTC)(link)
Thanks - I am not sure that I will use it (but I am keeping a link to this post and [personal profile] astolat's but I do appreciate the extra level of warning! I usually manually link to posts which I find means I do check to see the post's status :) but having a bookmarklet that warns is great.
sam_gardener: The catbus from My Neighbor Totoro. (Default)

[personal profile] sam_gardener 2019-01-16 07:35 pm (UTC)(link)
I hardly ever post but could not resist the title: Signal Boost: Signal Boost: SignalBoost✔ bookmarklet :)
sam_gardener: The catbus from My Neighbor Totoro. (Default)

[personal profile] sam_gardener 2019-01-16 08:00 pm (UTC)(link)
I can't deny that was my immediate impulse.
thenewbuzwuzz: (Default)

[personal profile] thenewbuzwuzz 2019-01-16 07:46 pm (UTC)(link)
Great, thanks!
mrkinch: albatross soaring (Default)

[personal profile] mrkinch 2019-01-16 08:27 pm (UTC)(link)
Very cool, but every post I've tested it on, none of which have been locked, has gotten the 'locked' popup. Is it me somehow?
mrkinch: albatross soaring (Default)

[personal profile] mrkinch 2019-01-16 08:47 pm (UTC)(link)
Not a custom style and I disconnected from my vpn. Maybe it's some other security thing. I'll poke around. Thanks!
mrkinch: PJ looking skeptical (you don't say)

[personal profile] mrkinch 2019-01-16 08:54 pm (UTC)(link)
It does not. Huh.
mrkinch: Viggo clutching his head (distraught)

[personal profile] mrkinch 2019-01-16 09:41 pm (UTC)(link)
No better. Unless you hear from someone else it's probably some weird setting or security app I may or may not even remember. Thanks for your efforts. I'll keep a look out for developments.
msilverstar: (Default)

[personal profile] msilverstar 2019-02-07 04:48 am (UTC)(link)
Thank you so much for this! This version works for me (Firefox 50something), the others did not copy the selected text.
rosefox: Green books on library shelves. (Default)

[personal profile] rosefox 2019-01-18 07:33 pm (UTC)(link)
I got 1105 errors when trying to use it on posts in my (ancient) custom style, but for format=light it works just fine for me.
rosefox: Green books on library shelves. (Default)

[personal profile] rosefox 2019-01-18 08:28 pm (UTC)(link)
Yes, that baffled me too!

The one you posted upthread works great. Thank you for all your work on this!
musyc: Silver flute resting diagonally across sheet music (Default)

[personal profile] musyc 2019-01-16 10:07 pm (UTC)(link)
Oooh, interesting. I'll have to test this out. Bookmark created as "linkything" because it amuses me. XD
finch: (Default)

[personal profile] finch 2019-01-16 11:37 pm (UTC)(link)
Oh thank you for this!
snickfic: (Default)

[personal profile] snickfic 2019-01-17 12:22 am (UTC)(link)
Ooh, this is extremely nifty. Also, the "check for locked post" feature will save me from accidentally linking to my filtered reading list all the time, lol.
princessofgeeks: (Default)

[personal profile] princessofgeeks 2019-01-17 01:19 am (UTC)(link)
OK, I'm sorry to be so clueless, but what is this for? When would I use it? Is this something to help out Tumblr users?
princessofgeeks: (Default)

[personal profile] princessofgeeks 2019-01-17 01:26 am (UTC)(link)
I have no trouble posting links, so is this for the people who don't know the HTML to do that?

I appreciate your explaining so much.

I guess I don't know what a bookmarklet is, basically. Thanks again.
princessofgeeks: (Default)

[personal profile] princessofgeeks 2019-01-17 12:40 pm (UTC)(link)
This is super helpful; thank you so much for explaining! I feel so much less confused now.
felinejumper: Janelle Monae in all white with black suspenders, holding a microphone (Default)

[personal profile] felinejumper 2019-01-17 02:30 am (UTC)(link)
Yay! Amazing! Thank you!
cupidsbow: (Default)

[personal profile] cupidsbow 2019-01-17 07:33 am (UTC)(link)
Very cool.
marginaliana: Buddy the dog carries Bobo the toy (Default)

[personal profile] marginaliana 2019-01-17 01:00 pm (UTC)(link)

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.
silveradept: A kodama with a trombone. The trombone is playing music, even though it is held in a rest position (Default)

[personal profile] silveradept 2019-01-21 02:37 am (UTC)(link)
I suppose it would still work if someone took the corresponding thing that appeared on the Post page and then copied it into a text file, they'd be able to eventually amass a post composed of other people's excerpts? It's an extra step and an additional program, but maybe that's the simple solution?
kore: (Default)

[personal profile] kore 2019-01-17 11:03 pm (UTC)(link)
Thank you, I really appreciate your concern for privacy here!
sixbeforelunch: a stylized woman's profile with the enterprise and a star field overlaid (Default)

[personal profile] sixbeforelunch 2019-01-17 11:17 pm (UTC)(link)
Awesome, thank you!
copracat: dreamwidth vera (Default)

[personal profile] copracat 2019-01-18 12:30 am (UTC)(link)
Thank you.
arduinna: a tarot-card version of Linus from Peanuts, carrying a lamp as The Hermit (Default)

[personal profile] arduinna 2019-01-18 03:51 am (UTC)(link)
Oh, awesome, thanks!
goodbyebird: Avengers: Black Widow is ready to attack. (Avengers back in black)

[personal profile] goodbyebird 2019-01-18 11:55 am (UTC)(link)
silveradept: A kodama with a trombone. The trombone is playing music, even though it is held in a rest position (Default)

[personal profile] silveradept 2019-01-21 02:38 am (UTC)(link)
That's a neat thing for grabbing exactly the excerpt you want for a post!
brithistorian: (Default)

[personal profile] brithistorian 2019-01-22 11:41 pm (UTC)(link)
This is awesome! I've made the bookmarklet and I'm planning to start using it ASAP!