azdo-userscripts icon indicating copy to clipboard operation
azdo-userscripts copied to clipboard

AZDO pull request improvement deprecation error on latest Brave Browser

Open blickfeld7 opened this issue 8 months ago • 2 comments

When loading dev ops and navigating to e.g. pull requests on my companies account page the azdo-userscripts doesn't load and no extra functionality is provided as described in the readme.

While investigating the developer console, it seems an outdated event is used, which may prevent the userscript from working. See attached logs:

Logs

AzDO Pull Request Improvements.user.js:605 [Deprecation] Listener added for a 'DOMNodeInserted' mutation event. Support for this event type has been removed, and this event will no longer be fired. See https://chromestatus.com/feature/5083947249172480 for more information.
onReady @ AzDO Pull Request Improvements.user.js:605

Context

  • Userscript Manager: (Violentmonkey)
  • Extension Version: (found in the Violentmonkey)
  • Browser: brave browser v1.76.81 (Chromium 134.0.6998.166)
  • URL: https://dev.azure.com/account

blickfeld7 avatar Mar 25 '25 13:03 blickfeld7

Thanks for opening your first issue here! Please refer to our support and troubleshooting docs.

welcome[bot] avatar Mar 25 '25 13:03 welcome[bot]

Thanks for bringing this up! Looks like indeed they will be removed, but in Chromium v127

https://medium.com/@dhunganaprashant/mutation-events-are-deprecated-heres-how-to-replace-them-with-mutation-observers-0199416dfec5#:~:text=Mutation%20events%20%E2%80%94%20including%20DOMNodeInserted%20%2C%20DOMNodeRemoved,in%20Chrome%20starting%20July%202024.

Right now, they are deprecated but still work. I'm also using Edge (Chromium v124) and everything works.

What else might be going on in your setup? Do you see augmentations in the pull request page, where the statuses are moved to the right pane?

alejandro5042 avatar Apr 01 '25 05:04 alejandro5042