Skip to content

Set a default bookmarks folder

Liam Hupfer edited this page Mar 31, 2022 · 2 revisions

To store bookmarks in a particular folder by default, you can override the a binding with the following snippet, changing /Mobile Bookmarks/ to your preferred path as needed:

bind a composite js document.location.href + ' /Mobile Bookmarks/' + document.title.replace(new RegExp('/','g'), '') | fillcmdline_notrail bmark

This uses the page title as the default bookmark title, replacing slashes in the title with a similar Unicode character (full-width slash) to prevent Tridactyl from interpreting them as additional path separators.