You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,11 @@
1
+
**ver 3.0.0 | 15/01/2023**
2
+
3
+
1. Migrated to Manifest V3.
4
+
1. Resources are read from local caches, making it much faster and solves the [cross-origin issue](https://github.com/painty/CSS-Used-ChromeExt/issues/52).
5
+
1. Optimized style parsing in a more efficient way.
6
+
1. Dropped support for some outdated CSS, mostly -o- and -ms- prefixed properties.
7
+
1. Implemented a new UI powered by Svelte, with some visual tweaks.
8
+
1
9
**ver 2.5.0 | 15/03/2021**
2
10
3
11
1. New. Option page.
@@ -82,15 +90,15 @@
82
90
2. Add. Two buttons: `Copy to clipboard` & `Send to codepen`
Copy file name to clipboardExpand all lines: README.md
+6-16Lines changed: 6 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,9 +22,11 @@ You can click "Preview" to see the selected part with clean style rules.
22
22
23
23
## FAQ
24
24
25
-
1.Permission to read my browsing history
25
+
1.No result
26
26
27
-
See https://github.com/painty/CSS-Used-ChromeExt/wiki/Permission-to-read-my-browsing-history%3F
27
+
1. Check whether it's Chrome Web Store pages, which is `https://chrome.google.com/webstore/....`, which won't allow content script injection.
28
+
1. If it's a normal webpage, check site access permission https://github.com/painty/CSS-Used-ChromeExt/issues/13#issuecomment-687244215
29
+
1. If it's a local file, chrome won't allow local file access by default. You can turn on the "Allow access to file URLs" in the extension management page.
28
30
29
31
1. Preview not right
30
32
@@ -33,21 +35,9 @@ You can click "Preview" to see the selected part with clean style rules.
33
35
34
36
1. Not all the CSS is got
35
37
36
-
The result is generated based on the CURRENT HTML DOM. If a div doesn't exist in the document unless a specific user interaction, the result may miss out the style rules for the newly born div.
37
-
38
-
1. Always says to fresh the page
39
-
40
-
First check whether it's Chrome Web Store pages, which is `https://chrome.google.com/webstore/....`, which won't allow content script injection. If it's a normal webpage , please create an issue.
38
+
1. The result is generated based on the CURRENT HTML DOM. If a div doesn't exist in the document unless a specific user interaction, the result may miss out the style rules for the newly born div.
39
+
1. CSS custom properties (variables) are partially supported. Not working for declarations defined by $0's ancestor. Thinking it as a inheritable CSS property, as this tool won't handle inherit style.
41
40
42
41
## Changelog
43
42
44
-
Go to [releases](https://github.com/painty/CSS-Used-ChromeExt/releases)
45
-
46
-
For older version infomation:
47
43
Go to the [Changelog page](CHANGELOG.md)
48
-
49
-
## Dev
50
-
51
-
1.`npm install` to install all the dependencies
52
-
2.`npm run build` gernerate `/build/asset/js/content.js`. Drag the `build` folder to `chrome://extensions/`, remember to turn on the dev mode on the top right of the page.
53
-
3.`npm test` will start a local `http://localhost:1234` server. Visiting the test page and check the console.
0 commit comments