问题
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?
回答1:
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.
来源:https://stackoverflow.com/questions/23821375/how-to-always-allow-chrome-plugins-in-command-line