🦊Firefox
Without addon
- Create a bookmark with this url :
https://tiddlywiki.com/#:[!is[system]search:title:literal[%s]limit[20]]
- Add the keyword of your choice (letters, no space) e.g:
tw
- To search the doc, type your keyword in the address bar, followed by a space and then your query.
With addon
- Download this addon : Search Engines Helper – Get this Extension for 🦊 Firefox (en-US)
- Click on the icon, select “Add a nw search engine” then follow the steps.
The benefit of the addon is to be able to change the icon of the search engine + it will show up in the list of your search engines (the bookmark trick will not).
🤖Chrome
- Copy/paste this url in your searchbar:
chrome://settings/searchEngines
- Click on Add
- Give a name, keyword and the url
https://tiddlywiki.com/#:[!is[system]search:title:literal[%s]limit[20]]
- To search the doc, type your keyword in the address bar, followed by a space and then your query.
Any tiddlywiki can be searched that way, this is not limited to the doc.
The filter can also be adjusted, e.g the filter [!is[system]search:*:literal[%s]limit[20]] will search in every field.
7 Likes
Thank you @telumire
By way of thanks,
- drop this in your address bar:
data:text/html;charset=utf-8, <html><title>Textfile</title><body contenteditable style="font:normal 13.6px sans-serif;background-color:%23f0fcff;margin:0;padding:0.5em;"></body>
- Start typing in the browser page
- File/Save as
Works in Firefox. Haven’t tried Chrome et al.
3 Likes
Search selected text using Tiddywiki Doc
Firefox with Context Search addon
- Download this addon : Context Search
- Visit the Firefox addon options for Context Search and
add your new search string:
https://tiddlywiki.com#:[!is[system]search:title:literal[%s]limit[20]]
- Add the keyword of your choice (letters, no space) e.g: tw
In this way you can use this search as @telumire mentioned above.
-
Add a name of your choice e.g. Tiddlywiki doc
-
Add new search engine
The tiddlywiki favicon appears within the contextmenu
-
Select any text on a page or wiki opened in firefox.
6a. Search the doc via the context menu:
Right-click on selected text and choose Tiddlywiki doc as the search engine
6b. Alt-click on selected text and use Tiddliywiki Doc out of the grid of icons
3 Likes
It’s off topic but this can be used in tiddlywiki to load custom html into an iframe, without using javascript!
<a href="""
data:text/html;charset=utf-8,
<html><body>Link one was clicked</body>
"""
target="foo">
Link 1
</a>
<a href="""
data:text/html;charset=utf-8,
<html><body>Link two was clicked</body>
"""
target="foo">
Link 2
</a>
<iframe name="foo" srcdoc="""Click the link !"""/>
I’m not sure how useful that could be but I find this interesting 