vnf4ultra
Posts: 1,360 +2
Hello all.
I really enjoy using firefox's tabbed interface, and it works great for 99% of webpages, but one website I have to use uses javascript links, and when I middle click the links I get a blank page. I've tried the smart middle click extension for firefox, and also the javascript in new tab script for greasemonkey. Neither will work properly with the site. The greasemonkey script duplicates the original tab, instead of opening the desired page, while the smart middle click link basically does nothing on this site.
The links on the website are like this:
javascript:go2TechNotes('******')
the ****** is just letters and numbers.
Is there a way to modify the "javascript in new tab" script to make it work properly? If I could get it to duplicate the tab first, then run the javascript after the new tab has loaded, it would be great.
Here's the script I want to modify (it is ok to modify someone else's script right?).
http://www.arantius.com/misc/greasemonkey/javascript-in-new-tab.user.js
I don't know a lot about scripts or programming, so take it easy on me.
Thanks.
I really enjoy using firefox's tabbed interface, and it works great for 99% of webpages, but one website I have to use uses javascript links, and when I middle click the links I get a blank page. I've tried the smart middle click extension for firefox, and also the javascript in new tab script for greasemonkey. Neither will work properly with the site. The greasemonkey script duplicates the original tab, instead of opening the desired page, while the smart middle click link basically does nothing on this site.
The links on the website are like this:
javascript:go2TechNotes('******')
the ****** is just letters and numbers.
Is there a way to modify the "javascript in new tab" script to make it work properly? If I could get it to duplicate the tab first, then run the javascript after the new tab has loaded, it would be great.
Here's the script I want to modify (it is ok to modify someone else's script right?).
http://www.arantius.com/misc/greasemonkey/javascript-in-new-tab.user.js
I don't know a lot about scripts or programming, so take it easy on me.
Thanks.