PageSourceSearch

https://www.ayto-aljaraque.es/system/modules/com.saga.sagasuite.share/resources/js/sgshare-facebook.js

js ayto-aljaraque.es collected 2026-10-02 12:34:23 UTC 639 bytes, 30 lines download raw bytes

1(function($){
2	
3	$(document).ready(function() {
4		if (window.FB != undefined) {
5			$(".sgshare-facebook-share").on('click', function(e) {
6				e.preventDefault();
7				FB.ui({
8					method : 'share',
9					href : window.location.href
10				},
11				function(response) {
12					console.log(response);
13				});
14			});
15			
16			$(".sgshare-facebook-like").on('click', function(e) {
17				e.preventDefault();
18				FB.ui({
19					method: 'share_open_graph',
20					action_type: 'og.likes',
21					action_properties: JSON.stringify({
22						object : window.location.href,
23					})
24				}, function(response){
25					console.log(response)
26				});
27			});
28		}
29	});
30}(jQuery))

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.