Just a few lines of javascript to fix all those broken image links on https://atom.io
Atom.io — Image Fixer Extension
Ever since I started using Atom recently, the images on the site have been broken. Browsing through their community plugins repository online to find a suitable package/theme got on my nerves.
Turns out all the original image links were embedded in the html elements already.
Apparently the images have been broken for at least 12 months. Figured I might as well share this fix if the folks at Atom don't seem to care.
Source code:
https://github.com/nlydv/atom-io-imgfix
Read more
Turns out all the original image links were embedded in the html elements already.
Apparently the images have been broken for at least 12 months. Figured I might as well share this fix if the folks at Atom don't seem to care.
Source code:
https://github.com/nlydv/atom-io-imgfix
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Atom.io \u2014 Image Fixer", "description": "Just a few lines of javascript to fix all those broken image links on https://atom.io", "author": "Neel Yadav", "homepage_url": "https://github.com/nlydv/atom-io-imgfix", "version": "2.0.0", "manifest_version": 3, "background": { "service_worker": "js/background.js" }, "icons": { "16": "icons/icon16.png", "19": "icons/icon19.png", "48": "icons/icon48.png", "128": "icons/icon128.png" }, "action": { "default_title": "Atom.io Image Fix", "default_popup": "html/popup.html", "default_icon": { "16": "icons/icon16.png", "19": "icons/icon19.png", "48": "icons/icon48.png", "128": "icons/icon128.png" } }, "host_permissions": [ "https://atom.io/*" ], "content_scripts": [ { "matches": [ "https://atom.io/*" ], "run_at": "document_idle", "js": [ "js/content.js" ] } ]}
Read more