I try to explain my aim here which might be confusing and/or out of scope for Tiddlywiki.
My TW is configured with Node.js under Windows 11 and managed my reference with refnotes plugins.
I am developing a Chrome Extension to add a toolbar over publication page through matching doi if I have managed it in TW. See example below for icons of TW, and links to Google Scholar and Scopus in the right top corner.
I understand I can create a permalink to a tiddler TiddlyWiki in a new tab. However, I prefer to open it in the current story river.
After googling, I found it is impossible to active another tab (i.e. Tiddlywiki Tab) from Chrome Extension.
Now my idea is to POST tiddler title, which I want to open, into a new tiddler (e.g. $:/from-chrome-extension) from my Chrome Extension, then monitor this tiddler and open them in the story river in TW.
So my question is it is possible to develop in TW for these requirements.
monitor the text field in a tiddler (e.g. $:/from-chrome-extension)
Hi @Zheng_Bangyou perhaps the easiest approach would be for your Chrome extension to PUT an update to $:/StoryList as well as the new tiddler.
The missing ingredient is that by default the $:/StoryList tiddler is not synced from the client to the server. To fix that, set the tiddler $:/config/SyncSystemTiddlersFromServer to yes.
@jeremyruston It seems this method is not working. I cannot figure out how to skip CORS checking for PUT in js with Chrome Extension (although GET is working now) .
But I do PUT changes to list field in the $:/StoryList from R and setup $:/config/SyncSystemTiddlersFromServer to yes. However, it seems the system tiddler does not sync from server to client.
Thanks @buggyj. I learned from your tiddlyclip plugin and Chrome Extension Message Passing. Now I can send the tiddler tiddler from other pages into my local tiddlywiki.
@Zheng_Bangyou There is not a function to open a tiddler in the story, probably the simplest way to open the tiddler in the story is to add its title to the list field of $:/StoryList
Tiddlyclip has a non-visible widget on the page that sends messages to the
$navigator widget to open tiddlers.