'How chrome extensions be enabled when flutter web debugging?

On flutter web debuggin opening a new window without chrome extensions. But my project must messaging with extensions. How can I prevent disablings at chrome extensions?



Solution 1:[1]

The only way you can do this is by recompiling flutter entirely, without the disable extensions flag.

It's a huge problem for everybody. I can't even test any WEB3 apps, because metamask is also not possible to use. I think google did it purposely.

Solution 2:[2]

1- Go to flutter\bin\cache and remove a file named: flutter_tools.stamp

2- Go to flutter\packages\flutter_tools\lib\src\web and open the file chrome.dart.

3- Find '--disable-extensions' and comment the line

4- Run 'flutter clean' (no 100% sur its needed)

Thanks to https://stackoverflow.com/a/66879350

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Aaron V
Solution 2 P.O