Azure DevOps URL Base Toggle

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

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 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.