- install both browsers
- install the chrome-extension Open in Firefox
- add teams.microsoft.com as PWA in Chome
- go to the settings for "Open in Firefox" and select to open everything except *.microsoft.com in firefox
- install both browsers
- install the firefox-extension Open in Chrome
- install the firefox-extension PWAs for Firefox
- add teams.microsoft.com as PWA in Firefox
- go to the settings for "Open in Chrome" and select to open everything except *.microsoft.com in chrome
Violent Monkey Observer JQuery Alternative
This uses the VM JQuery method to perform the work, it works on SLACK and Outlook PWAs in Edge on Linux (Debian) but I'm having trouble getting it to work in Teams.
Code
You may be able to make this more efficient than I have, I only know enough for 'applied' coding. 😅
More Information
I was a bit concerned that this would replace all instances of "http" in a URL, but then I remembered that
replace()
by default only replaces the first.So I nearly didn't put it together.
However, I noticed that you had the issue with sent items and with images, and I thought that the fact that the observer in this instance isn't breaking might well fix that.
Teams Issues
For whatever reason, I cannot get this to run properly on Teams URLs.
I have tried the different 'inject' settings and also the following options in the metadata ...
... but I cannot get it to functionally fudge with the Teams HTML.
Do you think that perhaps Teams has an observer of its own that first needs to be disabled?