Hallo,
Kann denn JS herrausfinden auf welcher Seite es ausgeführt wird?
Ja: window.location.href
Also wie bei php HTTP_REFERER.
Das ist wieder was anderes, als das "ausführende" Dokument und kann mit Einschränkungen https://forum.selfhtml.org/?t=89620&m=536082 ff. genutzt werden.
Die domain würde mir reichen.
window.location.hostname http://de.selfhtml.org/javascript/objekte/location.htm#hostname
Gruß aus Berlin!
eddi
--
at, wie er leibt und lebt auf ein Posting
> > Nein, ich denke nicht.
gepromptet
> Das empfiehlt sich aber.
:))))
at, wie er leibt und lebt auf ein Posting
> > Nein, ich denke nicht.
gepromptet
> Das empfiehlt sich aber.
:))))