A browser extension to view iconfont

Latest Version

Version
1.0.1
Update
October 18, 2023
Size
89.86KiB
Developer
Category
Users
62
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English (United States)
See more
Permissions
Tabs
Storage
ActiveTab
Scripting
WebNavigation
See more

Iconfont Viewer Extension

Just install it and when you visit the iconfont css file URL in your browser you will see all the icons of that file and can easily copy to your clipboard by clicking on the icon. Additionally, it provides a user-friendly feature toggle, when you want to view the original file content, just click on the extension icon to deactivate the preview mode.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Iconfont Viewer", "version": "1.0.1", "description": "A browser extension to view iconfont", "action": { "default_icon": "./assets/icon-512.png" }, "background": { "service_worker": "./dist/background/index.mjs" }, "icons": { "16": "./assets/icon-128.png", "48": "./assets/icon-128.png", "128": "./assets/icon-128.png" }, "permissions": [ "tabs", "storage", "activeTab", "scripting", "webNavigation" ], "host_permissions": [ "*://*/*" ], "content_scripts": [ { "matches": [ "" ], "js": [ "dist/contentScripts/index.global.js" ] } ], "web_accessible_resources": [ { "resources": [ "dist/contentScripts/style.css", "*.ttf", "*.woff2", "*.woff" ], "matches": [ "" ] } ], "content_security_policy": { "extension_pages": "script-src 'self'; object-src 'self';" }}
Read more