PageSourceSearch

https://naturspektrum.de/neu/style/js/r_social.js

js naturspektrum.de collected 2026-10-02 12:35:52 UTC 780 bytes, 39 lines download raw bytes

1
2
3(function() {
4
5var url   = encodeURIComponent("https://naturspektrum.de");
6var title = encodeURIComponent("Naturspektrum");
7
8function set(id, link)
9{
10  var el = document.getElementById(id);
11  if(el) el.href = link;
12}
13
14set("share-x",
15 "https://x.com/intent/tweet?url="+url+"&text="+title);
16
17set("share-facebook",
18 "https://www.facebook.com/sharer/sharer.php?u="+url);
19
20set("share-reddit",
21 "https://reddit.com/submit?url="+url+"&title="+title);
22
23set("share-whatsapp",
24 "https://api.whatsapp.com/send?text="+title+"%20"+url);
25
26set("share-telegram",
27 "https://t.me/share/url?url="+url+"&text="+title);
28
29set("share-mail",
30 "mailto:?subject="+title+"&body="+url);
31
32})();
33
34function copyLink()
35{
36  navigator.clipboard.writeText("https://naturspektrum.de");
37  alert("Link kopiert");
38}
39

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.