I have a simple GM script that injects CSS.  The script worked fine,
until the site changed the template used to create the pages.  The new
template contains an unterminated { } pair in a <style>.  Moz and IE
ignore this, but it seems that GM chokes?

An example construct is:

<html>
<head>

<style type="text/css">
#newnumber{ color:red; }
#newreferrer{ font-size:11px;

</style></head>


Until the site fixes it's template, is there a way to do a simple text
replace on the <style>?  I tried deleting the element completely, but
since it is not terminated, GM (apparently) doesn't see it as an
element.

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