3

I am looking for a way to set up Google Chrome so that it will run a certain plug-in (Java, what else?) only on whitelisted sites, but other plug-ins (like the PDF viewer) everywhere.

From playing with the policies available for Chrome, I think there are basically two levels of plug-in management:

  • List of disabled plugins/enabled plugins: Controls whether a plug-in exists for the browser at all

    This pair of policies applies to plug-ins, but not to sites.

  • Default plug-in settings/Allow plug-ins on sites: Controls on which sites plug-ins can run

    This set of policies applies to sites, but not to individual plugins, and it cannot override the first pair.

There appears to be no way to configure Chrome so that some plug-ins only run on whitelisted sites, but others run everywhere by default.

I have also looked at filtering content on the firewall/proxy level, but I'm not convinced it can be done securely there. Filtering by URLs (file names) or content types can be circumvented trivially, and identification by content inspection cannot be safe either.

1
  • 1
    You're asking for a level of control that Chrome is not designed to provide. Aug 31, 2012 at 7:18

4 Answers 4

1

The Google Chrome add-on Extension Automation lets you decide on which websites you want an extension to work on, and on which it should be disabled.

Extension Automation makes it easier to manage other extensions by automatically enabling
or disabling them based on the webpages you visit. This extension helps reduce the visual
clutter of other extensions and keeps them from running unnecessarily in the background.

Or you can use this Automatically Enable Incognito Mode For Specific Websites method.

2
  • Perfect in principle, but, alas, it only controls extensions, not plugins.
    – Christian
    Feb 18, 2013 at 14:12
  • The provided link for Extension Automation no longer works, and searching on the Chrome Web Store doesn't return any results for it.
    – joce
    Aug 22, 2023 at 1:20
0

Have a look at ScriptNo. It's very much like a port of the famous Firefox Add-on NoScript.

Basically, by default it blocks all scripts and <OBJECT>, <EMBED>, etc. unless you explicitly allow it.

See also:

1
  • Thanks for the tip, but ScriptNo's also an all-or-nothing thing.
    – Christian
    Sep 2, 2012 at 16:23
0

Issue 155743 on the Chromium tracker is open for this. Star it if it matches your needs.

I'll try to come back and update this post if the feature gets implemented (but if you notice I haven't, comment below)

0

2021: Chrome Version 90

Click on the Extensions button on the right side of address bar -> Manage Extensions OR Open menu by clicking 3 vertical dots at top right corner -> More Tools -> Extensions

Click on Details button of the required Extension and select On Specific Sites option under Site Access

This allows to Add required sites on which selected Extension remains active.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .