Solving chrome app problems
This commit is contained in:
parent
bbd00cf2d6
commit
40910c3b34
11 changed files with 204 additions and 45 deletions
11
init.js
11
init.js
|
|
@ -1,7 +1,12 @@
|
|||
var ld = (document.all);
|
||||
var isChromeApp = window.chrome && chrome.runtime && chrome.runtime.id;
|
||||
var ld;
|
||||
if (!isChromeApp) {
|
||||
ld = (document.all);
|
||||
}
|
||||
|
||||
var ns4 = document.layers;
|
||||
var ns6 = document.getElementById && !document.all;
|
||||
var ie4 = document.all;
|
||||
var ns6 = !isChromeApp && document.getElementById && !document.all;
|
||||
var ie4 = !isChromeApp && document.all;
|
||||
if (ns4) {
|
||||
ld = document.loading;
|
||||
} else if (ns6) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue