Top.Mail.Ru
? ?
astolat

March 2021

S M T W T F S
 123456
78910111213
14151617181920
21222324252627
28293031   

Tags

Syndicate

RSS Atom
Powered by LiveJournal.com

Feb. 8th, 2019

astolat

SignalBoost bookmarklet update! Now boosts HTML

I am using the signal boost bookmarklet to signal boost this update to the signal boost bookmarklet and if any of you signal boost this and someone boosts that then eventually clearly we will create a vortex in the space-time continuum. :P

[personal profile] astolat posted: SignalBoost bookmarklet

I've now updated the bookmarklet so that it preserves the HTML encoding in the selected text, so for instance if you select a chunk of text that includes an image or links to an AO3 story or to another DW post, the links will be preserved. It does NOT work on embedded video, sorry. :(



You can just copy and paste that code from the textarea into the URL field of the bookmarklet to upgrade it.

Also here's the underlying javascript in much more readable/editable form for anyone who wants to muck around with it: signal_boost.js on Gist

You can also read this entry on Dreamwidth (comment count unavailable comments)

Jan. 16th, 2019

astolat

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!

Here's the underlying javascript in much more readable/editable form for anyone who wants to muck around with it: signal_boost.js on Gist (now 1.4 by [personal profile] lj_writes)


  1. Create a new bookmark on your browser's bookmarks bar, then edit it. Copy and paste the code from this textarea into the URL field (sorry I can't make a draggable version here on DW as the javascript is being yanked, understandably).

    eta: [personal profile] melannen has already made the first improved version, which now warns you if you try to signal boost an access-locked post!

    eta2: I've now updated the bookmarklet so that it preserves the HTML encoding in the selected text, so for instance if you select a chunk of text that includes an image or links to an AO3 story or to another DW post, the links will be preserved. It does NOT work on embedded video, sorry. :(

    eta3: v1.4 with fixes and stripping excess Signal Boost: prefixes from [personal profile] melannen, more support for non-DW sites and better formatting from [personal profile] lj_writes!



  2. Go to a Dreamwidth post that you want to signal boost. You have to be ON the post itself; sadly this doesn't work from within your reading list. Also, you need to be logged in.

  3. If you want an excerpt, select some text in the post.

  4. Click the bookmarklet. You should be taken to the Dreamwidth post form with the signal boost content prefilled. You can add any other content you want, copy and paste the content to create posts with multiple signal boosts, etc. Whenever you're happy, you post it like any other post.



eta2: Safari for iOS install instructions by [personal profile] gingicat and Chrome for Android install instructions by [personal profile] falena!


Pre-Github versions preserved:

1.1, access lock, no HTML copying


1.0, no access lock check


You can also read this entry on Dreamwidth (comment count unavailable comments)