diff --git a/popup/demo.png b/popup/demo.png deleted file mode 100644 index e2935ea..0000000 Binary files a/popup/demo.png and /dev/null differ diff --git a/popup/index.html b/popup/index.html deleted file mode 100755 index 5b9db8e..0000000 --- a/popup/index.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - -Data Extractor - - - - - - - - - - -
-
-
-

Data Extractor

- -
-
-
-
-
-
- - -
-
- - -
-
- - -
-
- -
-
-
-
-
-
-
- - - \ No newline at end of file diff --git a/popup/popup.js b/popup/popup.js deleted file mode 100755 index a2d2f4f..0000000 --- a/popup/popup.js +++ /dev/null @@ -1,10 +0,0 @@ -$().ready( - () => $("#doExtract").on('click', doExtract) -); - -function doExtract() { - let fname = $("#formFileName")[0].value; - let itemSelector = $("#formItemSelector")[0].value; - let fieldSelectors = $("#formFieldSelector")[0].value.split('\n').map(s => s.trim()); - eval($("#formFieldSelector")[0].value); -} \ No newline at end of file diff --git a/popup/tip.html b/popup/tip.html index 8db15e7..7c39d24 100644 --- a/popup/tip.html +++ b/popup/tip.html @@ -5,6 +5,7 @@ Data Extractor + @@ -21,8 +22,8 @@

- Open console of extesion backgroud page and - type your scripts. + Goto Extension Detail, click "backgroud page", + and type your scripts in the console.

@@ -53,7 +54,7 @@

Full document (Right click - Open in new tab):
- https://git.jebbs.co/jebbs/data-extracter-extesion + https://git.jebbs.co/jebbs/data-extracter-extesion

diff --git a/popup/tip.js b/popup/tip.js new file mode 100644 index 0000000..31388bb --- /dev/null +++ b/popup/tip.js @@ -0,0 +1,14 @@ +$().ready( + () => { + $("#link-extension-detail").on('click', () => { + chrome.tabs.create({ + 'url': `chrome://extensions/?id=${chrome.runtime.id}` + }); + }) + $("#link-document").on('click', () => { + chrome.tabs.create({ + 'url': `https://git.jebbs.co/jebbs/data-extracter-extesion` + }); + }) + } +); \ No newline at end of file