diff --git a/.gitignore b/.gitignore index e43b0f9..fafff2e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .DS_Store +Thumbs.db diff --git a/icon.png b/icon.png index 33f07b8..245d35b 100644 Binary files a/icon.png and b/icon.png differ diff --git a/manifest.json b/manifest.json index af5ddd3..4e345b2 100755 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "name": "Data Extracter", "version": "0.0.1", "author": "jebbs", - "description": "Extract data as sheet from web page elements。", + "description": "Extract data from web page elements as sheet.", "icons": { "16": "icon.png", "48": "icon.png", diff --git a/popup/tip.html b/popup/tip.html index 4369fae..9d95c00 100644 --- a/popup/tip.html +++ b/popup/tip.html @@ -13,9 +13,13 @@
-

Data Extractor

- +
+
+
+
+

Open console and switch to Data Extracter, then call the @@ -24,20 +28,35 @@

+ +
+
+
+
+ +
+
Examples
+
+
+
+
+

- Example:
extract("table tr", ["td:nth-child(0)","td:nth-child(1)"]) + Extract current page: +
extract("table tr", ["td:nth-child(0)","td:nth-child(1)"])

+

+ Extract pages of sample.com (1-10, interval 1): +
extract("table tr", ["td:nth-child(0)","td:nth-child(1)"],"http://sample.com/?pn=${page}",1,10,1) + +

+

+ Extract specified pages (1,3,5): +
extract("table tr", ["td:nth-child(0)","td:nth-child(1)"],"http://sample.com/?pn=${page}",[1,3,5]) + +

+
- -