PageSourceSearch

https://thegadsdenpress.com/template/default/js/sethome.js

js thegadsdenpress.com collected 2026-10-04 21:32:11 UTC 884 bytes, 29 lines download raw bytes

1// JavaScript Document
2function AddFavorite(sURL, sTitle) {
3sURL = encodeURI(sURL); 
4try{   
5window.external.addFavorite(sURL, sTitle);   
6}catch(e) {   
7try{   
8window.sidebar.addPanel(sTitle, sURL, "");   
9}catch (e) {   
10alert("加入收藏失败,请使用Ctrl+D进行添加,或手动在浏览器里进行设置.");
11}   
12}
13}
14//设为首页
15function SetHome(url){
16if (document.all) {
17document.body.style.behavior='url(#default#homepage)';
18document.body.setHomePage(url);
19}else{
20alert("您好,您的浏览器不支持自动设置页面为首页功能,请您手动在浏览器里设置该页面为首页!");
21}
22}
23window.onload=function(){ 
24for(var ii=0; ii<document.links.length; ii++) 
25document.links[ii].onfocus=function(){this.blur()} 
26} 
27function bluring(){
28if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
29}

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.