fix extension in chrome
This commit is contained in:
parent
b3d0050b06
commit
8bcac9d3c3
3 changed files with 24 additions and 25 deletions
20
init.js
Normal file
20
init.js
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
var ld = (document.all);
|
||||
var ns4 = document.layers;
|
||||
var ns6 = document.getElementById && !document.all;
|
||||
var ie4 = document.all;
|
||||
if (ns4) {
|
||||
ld = document.loading;
|
||||
} else if (ns6) {
|
||||
ld = document.getElementById("loading").style;
|
||||
} else if (ie4) {
|
||||
ld = document.all.loading.style;
|
||||
}
|
||||
|
||||
function init() {
|
||||
if (ns4) {
|
||||
ld.visibility = "hidden";
|
||||
} else if (ns6 || ie4) {
|
||||
ld.display = "none";
|
||||
}
|
||||
}
|
||||
init();
|
||||
Loading…
Add table
Add a link
Reference in a new issue