A bookmarklet works like a normal bookmark.
The only difference is that you use JavaScript in the location filed of the bookmark instead of the URL of a web page.
This is a very simple bookmarklet that splits the selected text by a line break (linefeed: \n or %0a as defined via the RegExp("([^\n]+)\n?")) and works for text formatted like you posted above.
It won't work in other cases like quoted strings or comma separated strings. https://developer.mozilla.org/en-US/doc ... xpressions
(If you use NoScript, the domain of the page you are on needs to be Allowed.)
Fire 750, bring back 250. Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
Fire 750, bring back 250. Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
mozillaZine is an independent Mozilla community and advocacy site. We're not affiliated or endorsed by the Mozilla Corporation but we love them just the same.