Add chrome store related things

This commit is contained in:
Julien Lengrand-Lambert
2019-02-08 16:54:32 +01:00
parent 607eea7b39
commit 551bc2bec4
7 changed files with 10 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.DS_Store

8
docs/description Normal file
View File

@@ -0,0 +1,8 @@
CloseMe is a simple open-source Chrome extension that will auto-close all the invasive pop-ups from the Medium website.
Nothing to do, you just won't see them any more! Lovely, isn't it?!
You can see the source of the extension here : https://github.com/jlengrand/closeme
I am not collecting any data except the total amount of pop-ups closed using this extension :). Hopefully Medium will change its behavior one of those days.

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 683 KiB

BIN
docs/images/medium-no.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 841 KiB

BIN
docs/screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View File

@@ -2,6 +2,6 @@ const storageKey = "popups_closed";
const elementId = "amount";
chrome.storage.sync.get([storageKey], (result) => {
const value = ((result.popups_closed === undefined) ? 0 : result.popups_closed);
const value = ((result.popups_closed === undefined) ? 0 : result.popups_closed);
document.getElementById(elementId).textContent = value;
});