My Bookmark WebView
Posted: Fri Feb 13, 2026 6:14 am
After doing enough work onĀ My (Simple) Bookmark Manager for now, and being pretty happy with the results (although a search command would be nice to add in the future), I wondered about trying something similar, but with using the WebView Gadget.
So here is My Bookmark WebView! I haven't called it a manager because it's too incomplete (for example, you can't edit or delete bookmarks), but making it gave me the confidence to think that a more complete desktop application could be made without using the Gadget UI, and instead sticking with HTML5 with JavaScript and CSS for the main window.
This is the first time I have ever tried binding events/callbacks in PureBasic, and I think I may become a convert to that technique instead of a big event loop with many nested select and conditional statements. It was all much simpler to keep organised than I imagined.
The Folder/Bookmarks tree itself is very basic, taken from an example on W3Schools and I can imagine that by using some JavaScript libraries, a much more capable tree could be presented. But in this case, I wanted to keep the HTML and CSS as simple as possible, to see how well it would work having as much PureBasic code as possible and reusing most of my first bookmark manager code.
Below is a link to what it looks like, and a zip file with all the sources so you can run it in the IDE or make it yourself.
Image of the main window:
https://notebook.zohopublic.com/public/ ... 8b75434d54
Source:
https://workdrive.zohoexternal.com/exte ... eb0a61c7a7
So here is My Bookmark WebView! I haven't called it a manager because it's too incomplete (for example, you can't edit or delete bookmarks), but making it gave me the confidence to think that a more complete desktop application could be made without using the Gadget UI, and instead sticking with HTML5 with JavaScript and CSS for the main window.
This is the first time I have ever tried binding events/callbacks in PureBasic, and I think I may become a convert to that technique instead of a big event loop with many nested select and conditional statements. It was all much simpler to keep organised than I imagined.
The Folder/Bookmarks tree itself is very basic, taken from an example on W3Schools and I can imagine that by using some JavaScript libraries, a much more capable tree could be presented. But in this case, I wanted to keep the HTML and CSS as simple as possible, to see how well it would work having as much PureBasic code as possible and reusing most of my first bookmark manager code.
Below is a link to what it looks like, and a zip file with all the sources so you can run it in the IDE or make it yourself.
Image of the main window:
https://notebook.zohopublic.com/public/ ... 8b75434d54
Source:
https://workdrive.zohoexternal.com/exte ... eb0a61c7a7