Tip: Search tiddlywiki from the address bar

🦊Firefox

Without addon

  1. Create a bookmark with this url :
    https://tiddlywiki.com/#:[!is[system]search:title:literal[%s]limit[20]]
  2. Add the keyword of your choice (letters, no space) e.g: tw
  3. To search the doc, type your keyword in the address bar, followed by a space and then your query.

With addon

  1. Download this addon : Search Engines Helper – Get this Extension for 🦊 Firefox (en-US)
  2. 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

  1. Copy/paste this url in your searchbar: chrome://settings/searchEngines
  2. Click on Add
  3. Give a name, keyword and the url https://tiddlywiki.com/#:[!is[system]search:title:literal[%s]limit[20]]
  4. 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,

  1. 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>
  1. Start typing in the browser page
  2. File/Save as

Works in Firefox. Haven’t tried Chrome et al.

3 Likes

Search selected text using Tiddywiki Doc

:fox_face: Firefox with Context Search addon

  1. Download this addon : Context Search
  2. 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]]
  3. Add the keyword of your choice (letters, no space) e.g: tw

In this way you can use this search as @telumire mentioned above.

  1. Add a name of your choice e.g. Tiddlywiki doc

  2. Add new search engine
    The tiddlywiki favicon appears within the contextmenu

  3. 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 :slight_smile:

Yet another solutions in search of a problem :clap: :grinning_face_with_smiling_eyes:
Nice :slightly_smiling_face: