newsit icon indicating copy to clipboard operation
newsit copied to clipboard

Can't open thread in current tab

Open willlma opened this issue 1 year ago • 0 comments

Hi, want to start off by saying I love using this extension.

In an effort to avoid having too many tabs open, I like to open links in the current tab. To that end, I've created a browser extension that runs through the DOM and removes target="_blank" attributes from anchor elements. Unfortunately, because this extension uses a shadowroot in closed mode to render the links, I can't traverse the DOM to modify the elements. Any chance you could either:

  • Change it to mode open to allow the HTML to be modified, or
  • Add a Open in current/new tab checkbox in the settings?

Thanks for listening

willlma avatar Feb 28 '24 10:02 willlma