Add a custom useragent string for desired URLs or domains.

Latest Version

Version
0.2.3
Update
February 19, 2024
Size
379KiB
Developer
Category
Users
40,000+
Rating
3.85294 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
DeclarativeNetRequest
See more

Custom UserAgent String Extension

Custom UserAgent String is an extension that enables you to easily change your browser's user-agent by adding site-specific user-agent strings from the Options page.

Some features:
1. Add a custom user-agent string for each URL or website (domain).
2. There is an option to change each URL to a domain from the options page.
3. Toolbar popup has an ON or OFF switch button (left side).
4. User agents can be added to the options page (more than 100 sample user-agent strings are also provided).
5. For each user-agent string, you can either delete or disable it for future use.
6. To find a user-agent string you can either use a search engine (there are plenty of websites that provide a free UA list) or use the sample list provided on the addon's options page. This list includes more than 100 UAs for modern browsers and ranging from desktop to mobile platforms. This list is also available on the addon's homepage, FAQ section.

Note: to report bugs, please visit the addon's homepage (https://mybrowseraddon.com/custom-useragent-string.html) and fill out the bug report form.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "version": "0.2.3", "manifest_version": 3, "name": "Custom UserAgent String", "short_name": "custom-useragent-string", "homepage_url": "https://mybrowseraddon.com/custom-useragent-string.html", "description": "Add a custom useragent string for desired URLs or domains.", "commands": { "_execute_action": {} }, "background": { "service_worker": "background.js" }, "permissions": [ "storage", "declarativeNetRequest" ], "host_permissions": [ "*://*/*", "ws://*/*", "wss://*/*" ], "web_accessible_resources": [{ "matches": ["*://*/*"], "resources": ["data/content_script/page_context/inject.js"] }], "options_ui": { "open_in_tab": true, "page": "data/options/options.html" }, "action": { "default_popup": "data/popup/popup.html", "default_title": "Custom UserAgent String", "default_icon": { "16": "data/icons/16.png", "32": "data/icons/32.png", "48": "data/icons/48.png", "64": "data/icons/64.png" } }, "content_scripts": [{ "matches": ["*://*/*"], "run_at": "document_start", "js": ["data/content_script/inject.js"] }], "icons": { "16": "data/icons/16.png", "32": "data/icons/32.png", "48": "data/icons/48.png", "64": "data/icons/64.png", "128": "data/icons/128.png" }}
Read more