Check archival state of a source code repository and propose to update it if needed.

Latest Version

Version
0.6.8
Update
January 6, 2024
Size
87.36KiB
Developer
Category
Users
132
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
Tabs
ActiveTab
See more

UpdateSWH Extension

This extension checks if a software development repository visited by the user in a supported code hosting platform is archived and uptodate in Software Heritage. A color button on the right of the browser indicates if it is uptodate (green), in which case clicking on the button opens a tab on the corresponding page of the archive, missing (grey) or not up to date (yellow), in which case clicking on the button triggers a save code now request, and optionally shows the save request submitted to the Software Heritage archive.

A red color indicates that the API request of information for the repository did not succeed: this happens typically when one is visiting a repository that is not publicly accessible, and that naturally cannot be archived.

Bitbucket, GitHub, GitLab.com and GitLab instances on domain names of the shape gitlab.*.*, and Gitea instances of the shape gitea.*.* are supported out of the box. GitLab and Gitea instances on other domains can be added in the options panel.

More documentation is available on the website at https://www.softwareheritage.org/browser-extensions/
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "UpdateSWH", "version": "0.6.8", "manifest_version": 3, "description": "Check archival state of a source code repository and propose to update it if needed.", "icons": { "16": "img/icon-16.png", "32": "img/icon-32.png", "48": "img/icon-48.png", "64": "img/icon-64.png", "128": "img/icon-128.png" }, "action": { "default_title": "UpdateSWH", "default_popup": "popup.html", "default_icon": { "16": "/img/icon-16.png", "32": "/img/icon-32.png", "48": "/img/icon-48.png", "128": "/img/icon-128.png" } }, "background": { "service_worker": "background.js" }, "content_scripts": [ { "matches": [ "" ], "css": [ "css/updateswh.css" ], "js": [ "js/jquery-3.6.0.min.js", "updateswh.js" ] } ], "content_security_policy": { "extension_pages": "default-src 'self'; object-src 'self'; style-src 'self'; connect-src 'self' https://archive.softwareheritage.org/" }, "web_accessible_resources": [ { "matches": [ "" ], "resources": [ ] } ], "options_ui": { "page": "options.html", "open_in_tab": false }, "permissions": [ "storage", "tabs", "activeTab" ], "host_permissions": [ "" ]}
Read more

How to download and manually install UpdateSWH extension for Chrome

Looking for a way to install UpdateSWH extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install UpdateSWH extensions manually, this article outlines two simple methods to effortlessly install UpdateSWH extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download UpdateSWH extension and manually install through Drag &Drop

If you ever need to manually install a UpdateSWH extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the UpdateSWH Extension by clicking the "Download CRX" button on the website.

Look for the UpdateSWH extension you wish to install. Go to the website and download the UpdateSWH extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for UpdateSWH extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the UpdateSWH extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download UpdateSWH extension for Chrome and install in Developer Mode

This is another method to install UpdateSWH extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the UpdateSWH extension file

Select and download the UpdateSWH extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the UpdateSWH extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your UpdateSWH extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the UpdateSWH extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install UpdateSWH extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Writefull for Overleaf Extension · Productivity 132 127 ★ 918KiB

icon

Bib CNRS URL Transformer Extension · Productivity 132 2 ★ 10.26KiB

icon

Open Access Helper Web Extension · Productivity 132 1 ★ 395KiB

icon

CORE Discovery Extension · Productivity 132 3 ★ 220KiB

icon

Open Access Button Extension · Productivity 132 19 ★ 20.1KiB

icon

BrainTool - Go Beyond Bookmarks Extension · Productivity 132 261 ★ 324KiB

icon

SingleFileZ Extension · Productivity 132 29 ★ 939KiB

icon

PubPeer Extension · Productivity 132 29 ★ 44.72KiB

icon

Obsidian Web Extension · Productivity 132 67 ★ 641KiB

icon

WARCreate Extension · Social & Communication 132 9 ★ 585KiB

icon

StreetPass for Mastodon Extension · Social & Communication 132 18 ★ 195KiB

icon

GPT2Markdown Extension · Productivity 132 9 ★ 50.98KiB

icon

Ophirofox Extension · News & Weather 132 5 ★ 90.78KiB

icon

Click and Read CNRS Extension · Productivity 132 8 ★ 3.0MiB

icon

Scholar with Code Extension · Productivity 132 10 ★ 28.72KiB

icon

BibSonomy Buttons Extension · Social & Communication 132 11 ★ 39.43KiB

icon

Redactek Extension · Productivity 132 6 ★ 152KiB

icon

detektIIIF3 Extension · Productivity 132 3 ★ 994KiB

icon

IPFS Companion Extension · Developer Tools 132 48 ★ 3.12MiB

icon

Browserpass Extension · Productivity 132 33 ★ 1.1MiB

icon

DOI Resolver Extension · Productivity 132 27 ★ 435KiB

icon

Cookie Backup and Restore Extension · Accessibility 132 19 ★ 478KiB

icon

GitHub Repository Explorer Extension · Accessibility 132 4 ★ 16.38KiB

icon

Webrecorder ArchiveWeb.page Extension · Productivity 132 21 ★ 11.12MiB

User reviews

icon

Ben Greenman (ID: 0000003135610fdc) Voted 5 ★ - Updated 09/18/2022 Awesome! Very handy & informative. Love the quick links to the Software Heritage archive.

icon

Kumar Shivendu (ID: 00000068da44a897) Voted 5 ★ - Updated 08/11/2022 Nice. Works like charm!