I need to replace all URLs within any website, also realtive URLs like /imgages/. Therefore I need a list of tags that can contain URLs which a browser would download such as href=, src=, url(). Are there any additions for HTML/CSS/JS?
+1
A:
What exactly do you mean by "tags" when talking about javascript?
You're not going to be able to do this generically for javascript. Any string may represent a URL; it can be dynamically generated / loaded from the server via AJAX / etc...
ChssPly76
2009-10-05 21:03:46
Well tags keywords anything that is likely to hold an URL. JS is obviously impossible to completely cover (I would need a JS engine and run the code) but maybe there are some common ajax method calls for http requests or similar. Any additional HTML and CSS infos would be great.
OliverS
2009-10-06 11:13:30