

Often used to automate tedious tasks, it’s also a great way to interface with other applications. Instead I’ll talk about how to interact with the web browser. There are plenty of good tutorials that explain all you need. I combined a basic menu bar app with my own URL grabber code, called DCOURLGrabber, to get the URL from the web browser that was last active. This is where it gets a little technical. It’s fine for getting basic information, though. It’s impossible to manipulate the DOM inside the browser or execute other more context aware methods. Of course there are downsides to using this approach too. I can’t say I’m the first one to do something like this, but it works particularly well for Tapetrap. This means users don’t have to install anything extra and I don’t have to create a plugin per browser. While some code can be shared you will need to tailer parts of the extension for each browser specifically.įor Tapetrap, I chose to make a system wide browser extension in the form of an icon in the menu bar that “just works” with the active web browser when clicked. They’re neat little applications that take an insane amount of work to maintain. I’ve made and use a few browser extensions. The source code for the URL grabbing is available on GitHub.Īdding feeds from your web browser in Tapetrap Not a browser plugin In this article I want to go over why I think that’s awesome and how it works. Instead of looking for the RSS feed manually and copy-pasting the link, you can click a button and Tapetrap will find and add the feed for you. One of my favorite features of Tapetrap is its ability to subscribe to a website while surfing the web with your browser.
