PageSourceSearch

https://astra-hotel.ch/wp-content/uploads/phlox/custom.js?ver=9.4

js astra-hotel.ch collected 2026-10-03 21:39:27 UTC 1,684 bytes, 46 lines download raw bytes

1/*
2===============================================================
3 #CUSTOM JavaScript
4- Please do not edit this file. This file is generated from admin area.
5- Every changes here will be overwritten by theme
6===============================================================*/
7    /* theme_options_custom 
8=========================*/
9(function() {
10    console.log("ttx");
11    setTimeout(function(){ 
12        jQuery('html[lang="de-DE"] .display-posts-listing .lire-plus a').text("Mehr lesen");
13    }, 1000);
14    
15   jQuery(".bloc-news .listing-item .content").on("click", function(){
16       console.log("test2"); 
17    });
18    
19    jQuery(".bloc-news .display-posts-listing .listing-item").each(function(){
20		var blocList = jQuery(this);
21		var lien = blocList.find("a:first").attr("href");
22		var ancres = lien.split("/");
23		var ancre = ancres[ancres.length - 2];
24		var lang = ancres[3];
25		var txtPlus = "Lire plus";
26		console.log(lien);
27		console.log(lien);
28		console.log(lang);
29		if (lang.trim() == "en") txtPlus = "Read more";
30		if (lang.trim() == "de") txtPlus = "Lees verder";
31		blocList.append('<div class="lire-plus"><a href="' + lien + '#' + ancre + '">' + txtPlus + '</a></div>');
32		blocList.find(".title").attr("href", lien + '#' + ancre);
33	});
34	
35	jQuery(".display-posts-listing:first .listing-item").each(function(){
36		var blocList = jQuery(this);
37		var lien = blocList.find("a:first").attr("href");
38		var ancres = lien.split("/");
39		var ancre = ancres[ancres.length - 2];
40		blocList.attr("id", ancre);
41	});
42	
43	jQuery(".menu-bons").attr("title", "Bons cadeaux");
44	jQuery(".menu-gutscheine").attr("title", "Gutscheine");
45	jQuery(".menu-gift").attr("title", "Vouchers");
46})();   

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.