1

I want to always allow my NPAPI plugin in Chrome. I find in page "Chrome://plugins", there is a checkbox "Always Allowed" for each plugin.

Now I want to make one plugin "Always Allowed" without clicking that check box, so how can I achieve this? Is there any command arguments for this?

Kromster
  • 7,181
  • 7
  • 63
  • 111
Leslie Wu
  • 760
  • 3
  • 13
  • 29

1 Answers1

4

All, or at least most, Chrome/Chromium command line switches are listed on this page: http://peter.sh/experiments/chromium-command-line-switches/. It is generated from Chromium source and contains links back to the source.

You are probably looking for --always-authorize-plugins:

Prevents Chrome from requiring authorization to run certain widely installed but less commonly used plug-ins.

I have no idea what "certain widely installed" means, but that's the closest thing you have in command line switches. It's entirely possible that your problem is unsolvable because it's a security restriction.

Xan
  • 74,770
  • 16
  • 179
  • 206
  • Great, I tested this and it succeeds! Thx a lot! – Leslie Wu May 26 '14 at 05:15
  • @LeslieWu Can you post the command line statement that you achieved – Narayan Jun 09 '14 at 10:19
  • @Narayan like this: chrome.exe --always-authorize-plugins about:blank – Leslie Wu Jun 10 '14 at 02:46
  • --always-authorize-plugin didnt work for me in ubuntu 16.04 in 2 of my 4 computers. I'm loading localhost urls. Until I added localhost to flash manually in settings, they didnt work. (Using last flash and chromium version for ubuntu) – Hamboy75 Feb 23 '18 at 10:20
  • The situation changed significantly from 2014. NPAPI is dead, Flash is governed by different mechanisms. – Xan Feb 23 '18 at 10:21
  • 1
    Ok i got it. --always-autorize-plugins not working when --incognito, removing --incognito flash was loaded – Hamboy75 Feb 23 '18 at 10:58