1// Function to initialize the widget 2function initializeWidget() { 3 $GrwJS.init({ 4 target: '#grw-widget', 5 placeid: 'ChIJoT_HBIjNwogR5b4q70Mg1V4', 6 theme: 'dark', 7 numOfWords: 30, 8 horizontal: true, 9 autoScroll: false, 10 writeReview: 'https://search.google.com/local/writereview?placeid=ChIJoT_HBIjNwogR5b4q70Mg1V4', 11 allReview: 'https://www.google.com/search?client=firefox-b-e&q=Runnels+Insurance#lrd=0x88c2cd8804c73fa1:0x5ed52043ef2abee5,1,,,,' 12 }); 13} 14 15// Check the screen width and adjust settings 16function checkScreenWidth() { 17 var screenWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; 18 19 if (screenWidth < 767) { 20 // For screens less than 767px 21 $GrwJS.init({ 22 target: '#grw-widget', 23 placeid: 'ChIJoT_HBIjNwogR5b4q70Mg1V4', 24 theme: 'dark', 25 numOfWords: 30, 26 horizontal: true, 27 autoScroll: true, // Set autoscroll to true for smaller screens 28 writeReview: 'https://search.google.com/local/writereview?placeid=ChIJoT_HBIjNwogR5b4q70Mg1V4', 29 allReview: 'https://www.google.com/search?client=firefox-b-e&q=Runnels+Insurance#lrd=0x88c2cd8804c73fa1:0x5ed52043ef2abee5,1,,,,' 30 }); 31 } else { 32 // For desktop screens 33 initializeWidget(); 34 } 35} 36// Call the function on page load and on window resize 37document.addEventListener('DOMContentLoaded', checkScreenWidth); 38window.addEventListener('resize', checkScreenWidth);
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.