General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Pages: Previous12
Current Page: 2 of 2
Re: Open selected links as Tabs?
Posted by: desga2
Date: August 10, 2009 08:26PM

Yes it's the old problem with [ i ] index in JS code injections to post in BBcode forum. The better solution is add some space before and after the i index letter in brackets or change the i index letter to j in all JS code.
For the smiley you can do the same add a space between : and ( => : (

K-Meleon in Spanish



Edited 3 time(s). Last edit at 08/10/2009 08:29PM by desga2.

Options: ReplyQuote
Re: Open selected links as Tabs?
Posted by: JamesD
Date: August 10, 2009 09:46PM

How many of the bracket i bracket instances are there in the injectJS line? I have entered 5 so far without getting the macro to work. Four of them are "linkIsSafe(dl[ i ].href" and one is "window.open(dl[ i ].href".

Options: ReplyQuote
Re: Save all links as Tabs?
Posted by: caktus
Date: August 10, 2009 10:05PM

@ JamesD
Date: February 26, 2009 10:35AM

Thank you James. I had completely forgotten about OpenLinksAsTabs.kmm. I just loaded the macro and it works perfectly. OpenLinksAsTabs.kmm will save me a lot of work and time.smiling smiley

Again, thank you.

Charlie

~~If it ain't broke, why screw it up?~~


Options: ReplyQuote
Re: Open selected links as Tabs?
Posted by: magic48ges
Date: August 10, 2009 10:51PM

It's eight times, at every read access of the variable dl,
which references the 1-dim array document.links .

window.open appears two times.

Don't forget *.containsNode , which appears two times, and also accesses dl ;-)



Edited 1 time(s). Last edit at 08/10/2009 10:53PM by magic48ges.

Options: ReplyQuote
Re: Open selected links as Tabs?
Posted by: JamesD
Date: August 11, 2009 12:39AM

@ magic48ges

Got it now! Works very well. Very good research you did.

Options: ReplyQuote
Pages: Previous12
Current Page: 2 of 2


K-Meleon forum is powered by Phorum.