PageSourceSearch

https://www.haloo.ba/assets/js/share.js

js haloo.ba collected 2026-10-01 23:47:14 UTC 1,323 bytes, 33 lines download raw bytes

1$('.share-link-fb').on('click', function(e){
2    e.preventDefault();
3    let url = window.location.href  
4    navigator.clipboard.writeText(url)
5    var left = (screen.width/2) - 250;
6    var top = (screen.height/2)- 250;
7    window.open(`https://www.facebook.com/sharer/sharer.php?u=${url}`, "Facebook", `width=600, height=500, left=${left}, top=${top}, scrollbars, resizable`);
8})
9
10$('.share-link-x').on('click', function(e){
11    e.preventDefault();
12    let url = window.location.href  
13    navigator.clipboard.writeText(url)
14    var left = (screen.width/2) - 250;
15    var top = (screen.height/2)- 250;
16    window.open(`https://www.x.com/intent/tweet?text=${url}`, "X", `width=600, height=500, left=${left}, top=${top}, scrollbars, resizable`);
17})
18
19
20$('.share-link-li').on('click', function(e){
21    e.preventDefault();
22    let url = window.location.href  
23    navigator.clipboard.writeText(url)
24    var left = (screen.width/2) - 250;
25    var top = (screen.height/2)- 250;
26    window.open(`https://www.linkedin.com/sharing/share-offsite/?url=${url}`, "LinkedIn", `width=600, height=500, left=${left}, top=${top}, scrollbars, resizable`);
27})
28
29$('.share-link-url').on('click', function(e){
30    e.preventDefault();
31    let url = window.location.href  
32    navigator.clipboard.writeText(url)
33})

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.