By: walid ahdouf
Inspect and view changes in Universal File Viewer source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
"manifest_version": 2,
"name": "Universal File Viewer",
"version": "3.0.1",
"description": "Beautify and highlight various file formats in browser",
"author": "Walid Ahdouf",
"homepage_url": "https://github.com/w0l1d/universal-file-viewer",
"icons": {
"48": "icons/icon-48.png",
"96": "icons/icon-96.png"
},
"permissions": [
"<all_urls>",
"storage",
"clipboardWrite",
"webRequest",
"webRequestBlocking"
],
"background": {
"scripts": [
"js/background.js"
],
"persistent": true
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"lib/js-yaml.min.js",
"js/core/detector.js",
"js/core/formatter.js",
"js/core/highlighter.js",
"js/core/viewer.js",
"js/formats/json.js",
"js/formats/yaml.js",
"js/formats/xml.js",
"js/formats/csv.js",
"js/formats/toml.js",
"js/fetcher.js",
"js/main.js"
],
"css": [
"css/viewer.css"
],
"run_at": "document_start"
}
],
"browser_action": {
"default_title": "File Viewer Settings",
"default_popup": "popup.html",
"default_icon": {
"16": "icons/icon-16.png",
"32": "icons/icon-32.png"
}
},
"content_security_policy": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'",
"web_accessible_resources": [
"lib/*",
"css/*",
"js/*",
"icons/*",
"viewer.html"
],
"browser_specific_settings": {
"gecko": {
"id": "{9fcf0451-bb25-4b50-b7ae-e788f10cc82b}"
}
}
} Best Universal File Viewer Alternatives
Here are some Firefox add-ons that are similar to Universal File Viewer:
Data Format Beautifier
mjochum1
JSON Viewer+
rxliuli
Styled JSON Viewer
Netbuddy.net
JSON Viewer Pro By PatilWeb
PatilWeb
Code Formatter
sparkle_64
JSON Lite
Lauri Rooden
Formatter Toolbox
Shasika Semasinghe
JSON + XML Viewer
lukkns
JSON Viewer
Dmytrii Lysak
Styled XML Viewer
Netbuddy.net
JSON Viewer
Red Tercel
Json Bonito
Jorge Senín