Re: [greasemonkey-users] How to delete all width="...." entries in all tags?

Thu, 29 Mar 2012 10:14:51 -0700

On 29.03.2012 18:47, Ben Stover wrote:
<table width="....." cellspacing="..." ...>
entries should be changed into
<table .... cellspacing="0" ....>
In other words the attribute "width" should be removed everywhere in a<table>  
tag.
Alternatively: How can I change it to e.g.
<table width="98%" ....>
How can I do this with Greasemonkey?
Absolutely, you can add and remove attributes as needed:

https://developer.mozilla.org/en/DOM/element.setAttribute
https://developer.mozilla.org/en/DOM/element.removeAttribute

--
Klaus Johannes Rusch
[email protected]
http://klausrusch.atmedia.net/

--
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