It’s the little things, at least for me. With some luck and guesses sometimes I can fix technologies I do not understand the workings of.
This is purely a followup for maybe one of my favorite web browser tools that I guess I might be the sole user of, the Library of Congress Free to Use Browser Extension. Each time I open a new tab in my browser, rather than a blank or some generic screen, it presents me a background with a random public domain image from the Library of Congress.
It’s a momentary diversion of curiosity that often tempts me to learn more before I trudge off to my intended task. Almost a year ago, I spotted an error reported, which was a lucky fix simply be editing a text file in the extension to bump a number “2” to “3” for something called a manifest version (no clue what it means).
I stitched a fix
I open a lot of tabs and so I see this likely every day I am looking at a screen through a web browser.
A few clicks ago, in my extensions draw, I noted a new error/warning:
The thing still works, so I ignored it.
But my curiosity… I cannot let it alone.
So once again, I poke under the hood in the manifest.json
file that comes with the downloaded extension, and said, “what could happen?” and deleted the entire contents for the indicated problem portion. Or this is now what my manifest.json file looks like (I took the liberty of bumping the version).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
{ "name": "Library of Congress Free to Use Extension", "manifest_version": 3, "version": "1.2", "description": "Extension sets the background of blank tabs to a photo from the Library of Congress collections that is free to use and reuse.", "homepage_url": "https://loc.gov", "icons": { "16": "images/loc16.png", "24": "images/loc16.png", "32": "images/loc16.png", "128": "images/loc128.png", "187": "images/loc.png" }, "permissions": ["activeTab"], "chrome_url_overrides": { "newtab": "newtab.html" } } |
Basically in Chrome, I delete the extension, make sure developer mode is turned on, click Load Unpacked Extension, and select the entire folder where I have this thing saved. It loads in… and look! It not only works, but it also has the new version number I added (1.2).
And sweet, every thing is working. I open a new tab and page random public domain photos through until I find an image I can use for this post — perfect, two German opera singers named Weil and Braun playing cards, like there is some trick involved. My own trick is highlighting the title, and use my own little bookmarklet tool to find this in the Flickr Commons (easier to share from there, and as usual, the comments include interesting additions). I use my other tool to snag a cut and paste embed with attribution
I will let the LOC folks know, I do notice on their download page for the Free to Use Extension that they updated the extension to reflect my last tiny fix. You can find instructions there for installing. Before adding, if you edit the maniest.json
file to match the code snippet above, you will have succeeded in the Weil & Braun (& CogDog) Tech Fix Hack.
At least I enjoy this card trick.
Featured Image: Screen shot of Library of Congress public domain image Weil & Braun 1915 as displayed by the Free to Use Browser Extension, modified by overlay of error screen from the browser extension. This is still shared into the public domain, because that’s how I roll, under CC0!