On 02/18/10 13:28, Webflashing wrote:
        if (external[k].href&&  external[k].target=="_new")
        external[k].target = "_self";

Just:
  external[k].removeAttribute('target')
should suffice. Unless there's a base target in the page, too. Either way, don't bother with the complex tests, you could simply:
  external[k].setAttribute('target', '_self')
unconditionally.

--
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en.

Reply via email to