I wrote my first Jetpack plugin for Firefox this morning. I’m exploring the value of Jetpack (or any browser client modification, really) to ease content migrations, so I wanted to see what all the fuss was about.
To do this, I played around with something else I really wanted – the ability to copy the (1) title, (2) URL, and (3) selected text to the clipboard in one shot. There was a Firefox extension that did this a couple years back, but it stopped development for some reason.
In the image, you can see what my plugin does – it adds “Copy Title and URL” to the right-click menu. Highlight some text, right-click, select that option, and the document title, URL, and the selected text are formatted up and copied to the clipboard, suitable for pasting into an email.
The implications here are pretty cool for content migration (my original point to all this). With my 10 lines of code (and maybe a few more), I can let the user highlight some text on the page, right-click, and throw that text and URL at a Web service. That service could then clean that code, and automatically import it to a CMS.