I sometimes use URLs to control external applications. For example, the app Keyboard Maestro can create macros triggered by local URLs. It would be really cool if I could use Dynalist to save and organize macro triggers that can be clicked and simply to what I want without opening a new tab each time.
I am trying to solve it myself by creating a Chrome extension that solves the probelm, but Iām new to this so Iām having a little trouble. I managed to make a script that removes the ātargetā attribute from all the HTML elements for links, and it workedā¦ almost. I was able to make links open in the current tab, but once I edited my document Dynalist updated and ātarget=_blankā attributes got added again and links again started opening in new tabs.
Is there a simple way to make a javascript event handler that will run each time Dynalist updates?
Or can we just have an option to make links open in the current tab?