PageSourceSearch

https://www.gujaratijagran.com/js/common.js

js gujaratijagran.com collected 2026-10-02 21:20:07 UTC 716 bytes, 17 lines download raw bytes

1
2/*eweb and emobile responsive js*/
3var widthWindow = window.innerWidth;
4const elementsWeb = document.getElementsByClassName("eweb");
5const elementsMob = document.getElementsByClassName("emobile");
6if(widthWindow >= 1024){ while(elementsMob.length > 0){ elementsMob[0].parentNode.removeChild(elementsMob[0]); }  }
7else{ while(elementsWeb.length > 0){ elementsWeb[0].parentNode.removeChild(elementsWeb[0]); } }
8/*eweb and emobile ad remove js*/
9
10/*Image height width*/
11document.addEventListener("DOMContentLoaded", function(){
12var imgE2 = document.getElementsByTagName('img');
13for (var n=0; n < imgE2.length; n++) {
14imgE2[n].setAttribute('width',imgE2[n].offsetWidth);
15imgE2[n].setAttribute('height','100%');  
16}
17});

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.