Convert GitHub raw links to CDN links and display them in a floating button on the page

Latest Version

Version
1.0
Update
July 15, 2024
Size
833KiB
Developer
Category
Users
34
Rating
0 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
See more

GitHub Raw to CDN Converter Extension

**Convert GitHub Raw Links to CDN Links**

This extension primarily converts GitHub Raw links to CDN links and displays them in a floating button on the page. By using this extension, you can easily convert raw file links from GitHub to CDN-accelerated links, improving file loading speed and access efficiency.

**Key Features:**
- Automatically detect and convert GitHub Raw links to CDN links.
- Display a button in the top-right corner of the page, which, when clicked, fetches and shows the converted CDN link.
- Click the extension icon to input a GitHub Raw address and automatically generate the corresponding CDN link.
- Support for custom CDN addresses to meet various needs.

**Use Cases:**
- Developers who want to accelerate access to static resources (e.g., images, scripts, and stylesheets) in their projects via a CDN.
- Frequent access to raw files hosted on GitHub with a need for faster loading speeds.
- Any scenario requiring the conversion of GitHub Raw links to CDN links.

**How to Use:**
1. After installing the extension, a button will appear in the top-right corner of the page when a GitHub Raw link is detected.
2. Click the button to automatically fetch and display the converted CDN link.
3. Click the extension icon in the browser toolbar to manually input a GitHub Raw address and generate the corresponding CDN link.
4. Customize the CDN address in the settings to meet specific requirements.

By using this extension, you can significantly enhance the efficiency of loading files from GitHub, saving time and optimizing your workflow. Install it now and give it a try!
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "GitHub Raw to CDN Converter", "version": "1.0", "description": "Convert GitHub raw links to CDN links and display them in a floating button on the page", "permissions": [ "storage" ], "background": { "service_worker": "background.js" }, "content_scripts": [ { "matches": ["https://raw.githubusercontent.com/*"], "js": ["content.js"] } ], "action": { "default_popup": "popup.html", "default_icon": { "16": "icon256.png", "32": "icon256.png", "48": "icon256.png", "64": "icon256.png", "128": "icon256.png", "256": "icon256.png" } }, "icons": { "16": "icon256.png", "32": "icon256.png", "48": "icon256.png", "64": "icon256.png", "128": "icon256.png", "256": "icon256.png" }}
Read more