var tmp_editlink = document.getElementById('contenteditbtn').children[0];
tmp_editlink.href = tmp_editlink.href.replace('/azure-docs/','/azure-docs-pr/');
- Go to a docs page with an edit link
- Click the CJS icon
- Paste the raw JS above
- Click save
javascript:!function(){var e=document.getElementById("contenteditbtn").children[0];e.href=e.href.replace("/azure-docs/","/azure-docs-pr/")}();