An issue with script overwriting, need help

View: New views
2 Messages — Rating Filter:   Alert me  

An issue with script overwriting, need help

by Oz-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


There is this issue on one site - the script it loads via src
attribute in script tag is cut down by the server, and instead of
having a 362kb successfully loaded script, I've something like 160kb
cut one. So I'm trying to write a Greasemonkey userscript, which can
overwrite the cut down script with code that it has in itself. For
now, I'm not having any success with this problem. Can anyone help me
with this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "greasemonkey-users" group.
To post to this group, send email to greasemonkey-users@...
To unsubscribe from this group, send email to greasemonkey-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/greasemonkey-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: An issue with script overwriting, need help

by Anthony Lieuallen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 11/10/09 01:32, Oz wrote:
> ..overwrite the .. script with code that it has in itself..

If you're trying to prevent a site from loading inline <script> tags,
that's something Greasemonkey can't do.  (It runs after the page is
loaded.)  Tools like AdBlock are capable of blocking resources from
being loaded.

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