Azure DevOps URL Base Toggle

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

Δημιουργός
Jatin Sharma
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
1
Βαθμολογίες
0 0 0
Έκδοση
1.1
Δημιουργήθηκε την
21/01/2026
Ενημερώθηκε την
21/01/2026
Μέγεθος
2 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.