Code: Select all
var x = document.getElementsByTagName('a');
for(var i=0;i<x.length;i++)
{
x[i].setAttribute('target','_blank');
}
Code: Select all
var x = document.getElementsByTagName('a');
for(var i=0;i<x.length;i++)
{
x[i].setAttribute('target','_blank');
}
Code: Select all
javascript:(function(){var%20x,i;%20x=document.links;%20for(i=0;i<x.length;++i)%20{%20x[i].target="_blank";%20}%20})();
I'll assume that in that clean profile... all you did was install TMP to test? ... and you did modify its options for Events (Tab opening)? ...Kracov wrote:This does happen on a clean profile, and tried installing tab mix plus. Links from reddit still won't open in a new tab.
Code: Select all
chrome://browser/content/history/history-panel.xul
URL: https://www.squarefree.com/bookmarklets ... ew_windowsI still don't understand how to use bookmarklets