Swap package manager prefixes in web pages

Latest Version

Version
1.1
Update
August 24, 2024
Size
208KiB
Developer
Category
Users
1
Rating
0 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
ActiveTab
Storage
See more

Package Prefix Swapper Extension

Swap Package Managers On Any Webpage.

The Package Prefix Swapper for developers who work with multiple package managers.

Quickly replace npm, yarn, pnpm, and more with just a few clicks, streamlining your workflow and making it easier to navigate code samples and documentation across the web.

Example:

1. npm → pnpm
2. pip → pipenv

or anything else.

Key Features:

1. Automatic Prefix Detection: The extension automatically identifies the package manager prefixes used on the current web page.
2. One-Click Prefix Swapping: Easily swap the detected prefixes with the ones you prefer, with just a single click.
3. Swap History: Keep track of your past prefix swaps and reapply them with ease.
4. Dark Mode: Enjoy a clean, distraction-free experience with the built-in dark mode.
5. Keyboard Shortcuts: Quickly access the extension's features using intuitive keyboard shortcuts.

How to Use:

1. Install the \"Package Prefix Swapper\" extension from the Chrome Web Store.
2. Visit a web page with package manager prefixes (e.g., documentation, project READMEs, etc.).
3. Click the extension icon in your Chrome toolbar to open the popup.
4. The extension will automatically detect the prefixes used on the page.
5. Swap the prefixes as needed, and the page will be updated instantly.
6. Your swap history is saved, so you can easily reapply previous changes.

Disclaimer:

While the \"Package Prefix Swapper\" extension is designed to work on a wide range of web pages, it's important to note that some websites may explicitly prevent or restrict the modification of their content. The extension operates by detecting and replacing package manager prefixes on the current web page, but certain websites may have measures in place to protect their content from such modifications.

Users should be mindful of where they choose to use this extension, as the website owners may not approve of the automatic replacement of their content. The extension is provided without any guarantees or warranties, and users are solely responsible for ensuring they use it in an ethical and legal manner. This tool is for educational and productivity purposes only.

If a website prohibits or restricts the kind of content modification performed by the \"Package Prefix Swapper\" extension, the extension may not function as expected, or the website may take action against the user. It is the user's responsibility to respect the terms of service and content policies of the websites they visit, and to use the extension only on pages where it is appropriate and permitted.

The developer of the \"Package Prefix Swapper\" extension cannot be held liable for any consequences that may arise from the use of this tool. Users are advised to exercise caution, double-check the swapped prefixes, and respect the wishes of website owners when using this extension.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Package Prefix Swapper", "version": "1.1", "description": "Swap package manager prefixes in web pages", "permissions": ["activeTab", "storage"], "action": { "default_popup": "src/popup.html" }, "content_scripts": [ { "matches": [""], "js": ["src/content.js"] } ], "icons": { "16": "src/img/icons/icon16.png", "32": "src/img/icons/icon32.png", "48": "src/img/icons/icon48.png", "128": "src/img/icons/icon128.png" }, "background": { "service_worker": "src/background.js" }, "content_security_policy": { "extension_pages": "script-src 'self'; object-src 'self'" }, "web_accessible_resources": [ { "resources": ["src/data/package-managers.json"], "matches": [""] } ] }
Read more

Similar Extensions

icon

LTR-RTL Extension · Accessibility 1 29 ★ 4.09KiB

icon

MindPane Extension · Productivity 1 9 ★ 1.13MiB

icon

Popup Blocker (strict) Extension · Productivity 1 931 ★ 147KiB

icon

Word Replacer Max Extension · Social & Communication 1 10 ★ 456KiB

icon

New tab page by start.me Extension · Productivity 1 1417 ★ 1.93MiB

icon

tabVertikal - vertical tabs Extension · Productivity 1 21 ★ 157KiB

icon

SideTab Pro - Vertical Tabs Extension · Productivity 1 59 ★ 169KiB

icon

Advanced User Agent Switcher Extension · Developer Tools 1 4 ★ 236KiB

icon

Tampermonkey BETA Extension · Developer Tools 1 4523 ★ 1.58MiB

icon

VertiTab - Vertical Tabs in Side Panel Extension · Productivity 1 14 ★ 2.87MiB

icon

Tampermonkey Editors Extension · Developer Tools 1 19 ★ 87.43KiB

icon

ModHeader - Modify HTTP headers Extension · Developer Tools 1 1061 ★ 676KiB

icon

Plugins Extension · Productivity 1 297 ★ 1.36MiB

icon

Extension Manager Extension · Productivity 1 69 ★ 937KiB

icon

Ad Dimmer Extension · Productivity 1 2 ★ 1.39MiB

icon

Property Tracker Extension · Shopping 1 77 ★ 131KiB

icon

Nice Tab Manager | 标签页管理器 Extension · Productivity 1 6 ★ 955KiB

icon

Locale Switcher Extension · Developer Tools 1 7 ★ 215KiB

icon

Icon Changer Extension · Productivity 1 1 ★ 201KiB

icon

Core Web Vitals Visualizer Extension · Developer Tools 1 12 ★ 2.39MiB

icon

Page Editable Extension · Productivity 1 10 ★ 32.43KiB

icon

Easy WebPage Editor Extension · Productivity 1 3 ★ 587KiB

icon

Edit website Extension · Productivity 1 0 ★ 271KiB

icon

Vertical Tabs Extension · Productivity 1 151 ★ 1017KiB