Skip to content

Commit b36e00b

Browse files
committed
deprecated notice
1 parent 0328e90 commit b36e00b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Critical CSS Widget [DEPRECATED]
22

3-
This widget is deprecated. For improved Critical CSS extraction, see **[Style.Tools](https://style.tools/)**.
3+
**This widget is deprecated and may not work in newer browsers. For improved Critical CSS extraction, see [Style.Tools](https://style.tools/).**
44

5-
Visit https://style.tools/ to install the new widget or copy the folowing widget code in the browser bookmarks link field.
5+
Visit https://style.tools/ to install the new widget or copy the folowing widget code in the browser bookmarks link field or console.
66

77
```javascript
88
!function(r,a,k,l,f,g,b,m){function n(c,b,d){a.open();b&&(r.onmessage=b);d&&a.addEventListener("securitypolicyviolation",d);a.write(c);a.close()}f="https://style.tools/";g="Style.Tools";var c=a.createElement("script");c.src=f+"x.js";c.onerror=function(){function p(d){if(c=d?d.violatedDirective:0){if("script-src"==c||m)return;m=1;b&&l(b)}if(!q){var h=f+"#"+a.location;a.getElementById("e").innerHTML='<h2 style="color:red;">'+g+(c?' blocked by CSP <font color="blue">'+c+"</font>":" failed to load")+
@@ -18,9 +18,9 @@ Style.Tools provides two Critical CSS extraction solutions:
1818
1) a browser widget (this widget but improved)
1919
2) a professional quality Critical CSS extractor based on PostCSS and Penthouse.js.
2020

21-
## About (old widget)
21+
## About the old widget
2222

23-
A browser widget to extract Critical CSS and Full CSS from a page. Can be used via the browser console.
23+
A simple browser widget to extract Critical CSS and Full CSS from a page that can be used via the browser console.
2424

2525
The widget is based on a concept by Paul Kinlan, head of Chrome webdeveloper relations team.
2626

0 commit comments

Comments
 (0)