mirror of
https://github.com/tridactyl/tridactyl.git
synced 2026-09-10 07:16:33 -04:00
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.