File tree Expand file tree Collapse file tree 6 files changed +643
-0
lines changed
Expand file tree Collapse file tree 6 files changed +643
-0
lines changed Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+
4+ < head >
5+ < meta charset ="UTF-8 ">
6+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7+ < title > Document</ title >
8+
9+ < style >
10+ .circular-progress {
11+ --size : 250px ;
12+ --half-size : calc (var (--size ) / 2 );
13+ --stroke-width : 20px ;
14+ --radius : calc ((var (--size ) - var (--stroke-width )) / 2 );
15+ --circumference : calc (var (--radius ) * pi * 2 );
16+ --dash : calc ((var (--progress ) * var (--circumference )) / 100 );
17+ }
18+
19+ .circular-progress circle {
20+ cx : var (--half-size );
21+ cy : var (--half-size );
22+ r : var (--radius );
23+ stroke-width : var (--stroke-width );
24+ fill : none;
25+ stroke-linecap : round;
26+ }
27+
28+ .circular-progress circle .bg {
29+ stroke : # ddd ;
30+ }
31+
32+ .circular-progress circle .fg {
33+ transform : rotate (-90deg );
34+ transform-origin : var (--half-size ) var (--half-size );
35+ stroke-dasharray : var (--dash ) calc (var (--circumference ) - var (--dash ));
36+ transition : stroke-dasharray 0.3s linear 0s ;
37+ stroke : # 5394fd ;
38+ }
39+
40+ @keyframes progress-animation {
41+ from {
42+ --progress : 0 ;
43+ }
44+
45+ to {
46+ --progress : 100 ;
47+ }
48+ }
49+ </ style >
50+ </ head >
51+
52+ < body >
53+ < svg width ="250 " height ="250 " viewBox ="0 0 250 250 " class ="circular-progress " style ="--progress: 90 ">
54+ < circle class ="bg "> </ circle >
55+ < circle class ="fg "> </ circle >
56+ </ svg >
57+ </ body >
58+
59+ </ html >
Original file line number Diff line number Diff line change 33 "manifest_version" : 3 ,
44 "name" : " Useful Scripts" ,
55 "description" : " Scripts that can make your life faster and better" ,
6+ "homepage_url" : " https://github.com/HoangTran0410/useful-script" ,
67 "version" : " 1.66" ,
78 "icons" : {
89 "16" : " ./assets/icon16.png" ,
Original file line number Diff line number Diff line change @@ -484,6 +484,7 @@ const tabs = [
484484 s . magnify_image ,
485485 s . auto_redirectLargestImageSrc ,
486486 s . remove_tracking_in_url ,
487+ s . chongLuaDao ,
487488 s . shortenURL ,
488489 s . unshorten ,
489490 createTitle ( "--- Automation ---" , "--- Tự động ---" ) ,
Original file line number Diff line number Diff line change @@ -266,6 +266,7 @@ export default {
266266
267267const backup = ( ) => {
268268 ( ( ) => {
269+ // modify window.fetch
269270 const originalFetch = fetch ;
270271 fetch = function ( ...args ) {
271272 console . log ( "fetch" , ...args ) ;
You can’t perform that action at this time.
0 commit comments