2

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?

hoarslan
  • 91
  • 4

2 Answers2

10

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

P.O
  • 121
  • 1
  • 3
5

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.

Aaron V
  • 6,596
  • 5
  • 28
  • 31
  • You don't have to recompile it. Follow the instructions above, which are copied from the original post: https://stackoverflow.com/questions/65630743 By removing the timestamp file and modifying the script to remove the disable flag the next time you run flutter it will "rebuild" the tool for you. (It's easy). – Pat Niemeyer May 15 '22 at 19:05