Skip to content

Commit

Permalink
Add eldia.com
Browse files Browse the repository at this point in the history
  • Loading branch information
patriciomacadden authored and wacko committed Jun 21, 2019
1 parent 72b214c commit 24c4678
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
13 changes: 13 additions & 0 deletions eldia.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
setInterval(() => {
// make body scrollable
document.querySelector("body").style = "overflow: scroll";

// remove overlays
["#login-popup", "#opacityBody"].forEach((id) => {
const element = document.querySelector(id);

if (element) {
element.remove();
}
});
}, 100);
4 changes: 4 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,9 @@
"css": ["ole.css"],
"matches": ["*://*.ole.com.ar/*"],
"run_at": "document_end"
}, {
"js": ["eldia.js"],
"matches": ["*://*.eldia.com/*"],
"run_at": "document_end"
}]
}

0 comments on commit 24c4678

Please sign in to comment.