PageSourceSearch

https://www.hortipoint.nl/js/socialshare.js?v=1

js hortipoint.nl collected 2026-10-02 04:20:14 UTC 3,467 bytes, 63 lines download raw bytes

1if (window.location.href.indexOf("vakbladvoordebloemisterij") > -1) {
2    sector = 'Bloemisterij';
3} else if (window.location.href.indexOf("deboomkwekerij")) {
4    sector = 'deboomkwekerij';
5} else if (window.location.href.indexOf("tuinenlandschap")) {
6    sector = 'tuinenlandschap';
7} else if (window.location.href.indexOf("bloemenblad")) {
8    sector = 'bloemenblad';
9} else if (window.location.href.indexOf("floribusiness")) {
10    sector = 'hortipoint_nl';
11}
12
13// Functies voor de agenda
14var openSocial = function (type, url, title) {
15    if (type == 'fb') {
16        var leftPosition, topPosition;
17        //Allow for borders.
18        var width = 600;
19        var height = 400;
20        leftPosition = (window.screen.width / 2) - ((width / 2) + 10);
21        //Allow for title and status bars.
22        topPosition = (window.screen.height / 2) - ((height / 2) + 50);
23        window.open('http://www.facebook.com/sharer.php?s=100&u=' + url, "", "status=no,height=" + height + ",width=" + width + ",resizable=yes,left=" + leftPosition + ",top=" + topPosition + ",screenX=" + leftPosition + ",screenY=" + topPosition + ",toolbar=no,menubar=no,scrollbars=no,location=no,directories=no");
24    } else if (type == 'tw') {
25        var width = 575,
26            height = 400
27        left = (jQuery(window).width() - width) / 2,
28            top = (jQuery(window).height() - height) / 2,
29            opts = 'status=1' +
30            ',width=' + width +
31            ',height=' + height +
32            ',top=' + top +
33            ',left=' + left;
34
35
36        // Niet meer nodig
37        var socialVia = {
38            vakbladvoordebloemisterij: "Bloemisterij",
39            deboomkwekerij: "deboomkwekerij",
40            tuinenlandschap: "tuinenlandschap",
41            bloemenblad: "bloemenblad",
42            floribusiness: "hortipoint_nl"
43        };
44
45        window.open("http://twitter.com/share?text=" + title + "&url=" + url + "&via=" + sector, 'twitter', opts);
46    } else if (type === 'in') {
47        var width = 575,
48            height = 400,
49            left = (jQuery(window).width() - width) / 2,
50            top = (jQuery(window).height() - height) / 2,
51            opts = 'status=1' +
52                ',width=' + width +
53                ',height=' + height +
54                ',top=' + top +
55                ',left=' + left;
56        //  window.open('http://www.linkedin.com/shareArticle?mini=true&url='+url+'&title='+title+'&summary='+$(".container#vakblad .col-md-7 > p").eq(0).text().substring(0,97)+'&source=hortipoint', "", "status=no,height=" + height + ",width=" + width + ",resizable=yes,left=" + leftPosition + ",top=" + topPosition + ",screenX=" + leftPosition + ",screenY=" + topPosition + ",toolbar=no,menubar=no,scrollbars=no,location=no,directories=no");
57        window.open('http://www.linkedin.com/shareArticle?mini=true&url=' + url + '&title=' + title + '&summary=' + jQuery(".container#vakblad div p span").eq(0).text() + '', "", "status=no,height=" + height + ",width=" + width + ",resizable=yes,left=" + leftPosition + ",top=" + topPosition + ",screenX=" + leftPosition + ",screenY=" + topPosition + ",toolbar=no,menubar=no,scrollbars=no,location=no,directories=no");
58    } else if (type === 'ma') {
59        window.location.href = 'mailto:?subject=' + title + '&body=' + jQuery(".container#vakblad div p span").eq(0).text() + '\r\n' + url;
60    } else if (type === 'wa') {
61        window.location.href = 'whatsapp://send?text=' + title + ' - ' + url;
62    }
63};

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.