2

Extensions installed on Chrome and IE sometimes cause errors on my website. I want that extensions do not affect my website, can I block them with JavaScript? And I know it sounds a little bit stupid :) Anyway any suggestions are welcome

karaxuna
  • 26,752
  • 13
  • 82
  • 117

2 Answers2

0

You cannot block extensions using javascript but you may check if the user has a certain extension installed and displaying a warning or error regarding the extension like "uploads won't work when XY is enabled"

How to do this has already been discussed on SO

Check whether user has a Chrome extension installed

How to detect if an Internet Explorer plugin is already installed using JavaScript

Community
  • 1
  • 1
Flatlin3
  • 1,658
  • 14
  • 26
0

No, there isn't any way to block extensions from a webpage.

Uzair Farooq
  • 2,402
  • 3
  • 24
  • 37