2

I can direct my users to enable Allow access to file URLs by going to chrome:extensions and ticking the box. I am wondering if there is any easy way to check if this is enabled? I could check by having chrome read a file at that address with an ajax request and seeing if it is denied. But is there a better way?

COMisHARD
  • 867
  • 3
  • 13
  • 36

1 Answers1

3

You can check file access is allowed using chrome.extension.isAllowedFileSchemeAccess.

For more information you can check this answer.

Sergii Rudenko
  • 2,603
  • 1
  • 22
  • 24