Azure DevOps URL Base Toggle

Toggle Azure DevOps URL between dev.azure.com/{org} and {org}.visualstudio.com

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Jatin Sharma
今日安裝
0
安裝總數
1
評價
0 0 0
版本
1.1
建立日期
2026-01-21
更新日期
2026-01-21
尺寸
2.1 KB
授權條款
MIT
腳本執行於

Azure DevOps URL Base Toggle

This userscript adds a small button to the Azure DevOps top navigation bar that lets you instantly switch between the two official Azure DevOps URL formats:

https://dev.azure.com/{organization}/...

https://{organization}.visualstudio.com/...

The toggle preserves the full path, including project, repository, pull request, and query parameters, so you stay on the exact same page.

Features

  • One click toggle directly from the header menubar

  • Works both directions between URL formats

  • Safe and lightweight, no external dependencies

  • Handles Azure DevOps SPA navigation and header re-renders

  • Does not modify page content or make network requests

Why this is useful

Some links, extensions, or internal tools still prefer one URL format over the other. This script removes the need to manually edit URLs or reload pages through bookmarks.

Privacy

This script runs entirely in the browser. It does not collect, store, or transmit any data.