Is there a way, in one click, to grab a webpage’s title and url, wrap them thusly [ext[ + title + | + url ]], and add that to the browser clipboard (in my case, Firefox)?
I tried TiddlyClip and TiddlyMarker out, but the former won’t install to Firefox (says the file is corrupt), and the latter gives error messages when saving a webpage as a file. I would like the above option instead. Grab and format the data with one click, then I can paste the data into a tiddler manually.
If you found a good resource for constructing bookmarklets please share.
I love the potential power of bookmarklets, both inside and outside tiddlywiki and this is no exception, in part because it suggests other possibilities as well. For example constructing links for pasting in Discourse or other wikis, harvesting file urls browsing local directors from in the browser and all doing so while retaining the full information link and friendly name where applicable.
A few notes in case they are of assistance;
The form of link `[[pretty|url]]’ seems to be sufficient, searching for the details in tiddlywiki.com for the “ext” form is not helpful.
Is possible to do the same by another method wholly within tiddlywiki which I could do if you want, but then bookmarklets work across tab and urls.
I have noticed some changes in the interaction across Chrome and FireFox of late adding some complications to their utility.
By reverse engineering your bookmarklet, I see it primarily obtains document.title and window.location.href and recently I made my first javascript plugins/macros for tiddlywiki to get or set the window name, equivalent to the href “target”.
Speculation;
Altering your plugin to return a full htm “a” tag, href link including the target may be even more versatile; eg pseudo code;
FWIW there have been a few discussions of “Bookmarklets” in the past.
I think it one of those things that could benefit everyone a lot IF we could articulate more how to best use them for TW. And also examine the structure of browser bookmarks.