PageSourceSearch

https://sctp.org.sg/JavaScript.js

js sctp.org.sg collected 2026-10-04 18:27:26 UTC 1,498 bytes, 64 lines download raw bytes

1
2function mlink() {
3
4    var currentUrl = window.location.href;
5    var url = "mailto:?Subject=You%20may%20be%20interested%20in%20this%20page%20of%20SCTP%27s%20website.&Body=Check%20this%20out!%20%20" + currentUrl;
6
7    window.open(
8        url,
9        '_blank'
10    );
11
12}
13
14
15function glink() {
16
17    var currentUrl = window.location.href;
18    var url = "https://plus.google.com/share?url=" + currentUrl;
19
20    window.open(
21        url,
22        '_blank' // <- This is what makes it open in a new window.
23    );
24
25}
26
27function lklink() {
28
29
30    var currentUrl = window.location.href;
31    currentUrl = currentUrl.replace(/=/g, "%3D");
32    var url = "https://www.linkedin.com/shareArticle?mini=true&url=" + currentUrl;
33    //"http://www.linkedin.com/shareArticle?mini=true&url=" + currentUrl;
34
35   
36
37    window.open(
38        url,
39        '_blank' // <- This is what makes it open in a new window.
40    );
41}
42
43function fblink() {
44
45
46    var currentUrl = window.location.href;
47    var url = "http://www.facebook.com/sharer.php?u=" + currentUrl;
48
49    window.open(
50        url,
51        '_blank' // <- This is what makes it open in a new window.
52    );
53
54}
55function printdiv(printpage) {
56    var headstr = "<html><head><title></title></head><body>";
57    var footstr = "</body>";
58    var newstr = document.all.item(printpage).innerHTML;
59    var oldstr = document.body.innerHTML;
60    document.body.innerHTML = headstr + newstr + footstr;
61    window.print();
62    document.body.innerHTML = oldstr;
63    return false;
64}

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.