Replace named variables in URLs before navigation. This is particularly useful for powerful, variable bookmarks.

Latest Version

Version
1.0.1
Update
October 22, 2024
Size
40.89KiB
Developer
Category
Users
8
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
WebNavigation
Storage
See more

VariabURL Extension

# Variable URL

Do you have a set of links with a common, but variable, component? Consider the following table:

||one url|another url|
|--|--|--|
|1|someuniversity.edu/students/AdamApplegate/summary|someuniversity.edu/students/AdamApplegate/grades/1|
|2|someuniversity.edu/students/BarbaraBillings/summary|someuniversity.edu/students/BarbaraBillings/grades/1|

If you want to bookmark a link for the student summary, and another link for the student's grade on the first assignment, you will end up needing to duplicate those bookmarks for each student. This quickly becomes infeasible to the point that bookmarks are dismissed as not a useful approach to navigating these pages. However, if there is not an admin panel, some use cases may not have a better option either.

With Variable URL, you can bookmark the set of pages once, and define the variable component inside of a chrome extension.

## How To Use

First, go to `chrome://extensions`. Search for and add VariabURL.

In the (normal, existing) chrome bookmark manager, add or edit bookmarks to replace the variable component with `{{v}}`. Extending the example above, these bookmarks might be:

- `someuniversity.edu/students/{{v}}/summary`
- `someuniversity.edu/students/{{v}}/grades/1`

Using the extensions widget to the right of the address bar in chrome, select the VariabURL extension, and enter a value for the variable. Be sure to hit `Enter`, `Tab`, or otherwise click outside of the text box to confirm the value.

You're ready to go! Your links will now use the value defined in the VariabURL extension whenever navigating to a URL with `{{v}}` in it. From a practical perspective, this is mainly bookmarks, but any links or redirects constructed this way will use the variable value as well. If you are having unexpected behavior outside of the use of your bookmarks based on a URL including `{{v}}` in a literal sense, you may need to disable the extension.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "VariabURL", "description": "Replace named variables in URLs before navigation. This is particularly useful for powerful, variable bookmarks.", "version": "1.0.1", "permissions": [ "webNavigation", "storage" ], "background": { "service_worker": "service-worker.js", "type": "module" }, "action": { "default_popup": "popup/variab-url.html", "default_icon": "images/variab-url-icon-128.png" }, "icons": { "16": "images/variab-url-icon-16.png", "32": "images/variab-url-icon-32.png", "48": "images/variab-url-icon-48.png", "128": "images/variab-url-icon-128.png", "256": "images/variab-url-icon-256.png" }}
Read more

Similar Extensions

icon

Simple New Tab URL Extension · Productivity 8 9 ★ 13.16KiB

icon

Replace URL Extension · Productivity 8 21 ★ 171KiB

icon

URL Params Editor Extension · Developer Tools 8 9 ★ 155KiB

icon

New Tab Redirect Extension · Productivity 8 3146 ★ 1.52MiB

icon

New Tab Override Extension · Productivity 8 28 ★ 11.06KiB

icon

Tabsets.net Extension · Productivity 8 2 ★ 9.6MiB

icon

Easy Tab Renamer Extension · Productivity 8 2 ★ 12.87KiB

icon

URL in title Extension · Productivity 8 58 ★ 14.57KiB

icon

Environment Marker Extension · Developer Tools 8 54 ★ 72.93KiB

icon

Custom New Tab Extension · Productivity 8 19 ★ 92.24KiB

icon

CopyTab URLs Extension · Productivity 8 7 ★ 45.66KiB

icon

Page Info Extension · Productivity 8 1 ★ 1.08MiB

icon

Custom New Tab URL Extension · Productivity 8 101 ★ 80.19KiB

icon

Convert URL Text to Links Extension · Productivity 8 4 ★ 20.64KiB

icon

Bookmark Manager per Domain and Page Extension · Productivity 8 11 ★ 13.83KiB

icon

Bookmark URL Batch Replacer Extension · Accessibility 8 28 ★ 228KiB

icon

Simple Web Scraper (Free) Extension · Productivity 8 1 ★ 1.37MiB

icon

The Switcher[Change Domains] Extension · Developer Tools 8 3 ★ 429KiB

icon

Custom New Tab Page Extension · Productivity 8 0 ★ 49.84KiB

icon

URL Jumper Extension · Productivity 8 2 ★ 46.41KiB

icon

Notion Edit & Clip in Side Panel Extension · Productivity 8 4 ★ 517KiB

icon

CSS Undefined Variable Checker Extension · Developer Tools 8 1 ★ 250KiB

icon

Bookmark Sync Extension · Productivity 8 0 ★ 19.6KiB

icon

URL Bear Extension · Developer Tools 8 1 ★ 718KiB