Hi,
I don't answer in German because documentation gets written in English
and only if it is popular enough into German.
As you want to manipulate a web page, you can easily try it using the
Scratchpad (Tools > Web developer > Scratchpad or Extras >
Web-Entwickler > Notizblock).
There type something like this:
var links =
document.querySelectorAll("a[href^='
http://www.startdomain.org/']");
This would return an array of all links on the page which start with
http://www.startdomain.org. For more documentation see
http://www.w3.org/TR/css3-selectors/ You can also just do "a[href]" to
get all links. But the more links, the slower your script.
Now you can run a 'for' loop through your array, check the value of the
href attribute and replace it with whatever you want.
(Unfortunately, most code examples at
https://developer.mozilla.org are
currently invisible.)
Archaeopteryx
-------- Original-Nachricht --------
Betreff: Manipulate website content (replace URLs)
Von:
ajun...@gmail.com
An:
Datum: 2012-01-22 20:40