Skip to content

Commit

Permalink
Switched to a localStorage strategy to avoid a flash of content.
Browse files Browse the repository at this point in the history
  • Loading branch information
ao5357 committed Sep 12, 2012
1 parent b4be6e6 commit 5c0e038
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions content-script.js
Expand Up @@ -36,7 +36,5 @@ if(location.hostname.slice(-12) !== "cantonpl.org"){
}
}
else{
var actionBar = document.getElementById("action-bar");
var chromeButton = document.getElementById('chrome-extension');
actionBar.removeChild(chromeButton);
localStorage.setItem("cpl-extension-installed","true");
}
2 changes: 1 addition & 1 deletion manifest.json
@@ -1,7 +1,7 @@
{
"name": "__MSG_extensionName__",
"manifest_version": 2,
"version": "2.1.1.1",
"version": "2.1.1.2",
"description": "__MSG_extensionDescription__",
"icons": {
"16": "icon16.png",
Expand Down

0 comments on commit 5c0e038

Please sign in to comment.