山西师范大学研讨生招生网 – 招生作业-研讨生院(山西师范大学硕士生导师)

2024年 8月 10日 作者 gong2022 0

等待来到山西师范大学研讨生院!

function dosuba56795a()
{
try{
var ua = navigator.useragent.tolowercase();
if(ua.indexof(“msie 8”)>-1)
{
window.external.addtofavoritesbar(document.location.href,document.title,””);//ie8
}else if(ua.tolowercase().indexof(“rv:”)>-1)
{
window.external.addtofavoritesbar(document.location.href,document.title,””);//ie11+
}else{
if (document.all)
{
window.external.addfavorite(document.location.href, document.title);
}else if(window.sidebar)
{
window.sidebar.addpanel( document.title, document.location.href, “”);//firefox
}
else
{
alert(hotkeysa56795a());
}
}

}
catch (e){alert(“无法主动添加到保藏夹,请运用 ctrl + d 手动添加”);}
}
function hotkeysa56795a()
{
var ua = navigator.useragent.tolowercase();
var str = “”;
var iswebkit = (ua.indexof(‘webkit’) != – 1);
var ismac = (ua.indexof(‘mac’) != – 1);
if (ua.indexof(‘konqueror’) != – 1)
{
str = ‘ctrl + b’; // konqueror
}
else if (window.home || iswebkit || ismac)
{
str = (ismac ? ‘command/cmd’ : ‘ctrl’) + ‘ + d’; // netscape, safari, icab, ie5/mac
}
return ((str) ? ‘无法主动添加到保藏夹,请运用’ + str + ‘手动添加’ : str);
}
function sethomepagea56795a()
{
var url = document.location.href;
if (document.all)
{
document.body.style.behavior=’url(#default#homepage)’;
document.body.sethomepage(url);
}
else if (window.sidebar)
{
if(window.netscape)
{
try{


netscape.security.privilegemanager.enableprivilege(“universalxpconnect”);
}catch (e){
alert(“该操作被阅读器回绝,假定想启用该功用,请在地址栏内输入 about:config,然后将项 signed.applets.codebase_principal_support 值该为true”);
}
}
var prefs = components.classes[‘@mozilla.org/preferences-service;1’].getservice(components. interfaces.nsiprefbranch);
prefs.setcharpref(‘browser.startup.homepage’,url);
}
else
{
alert(“阅读器不撑持主动设为主页,请手动设置”);
}
}
设为主页 | 参加保藏