Firefox: How do I set “Allow Now”, “Allow and Remember” or “Block Plugin” as plug-ins are requested?

If you have this dialog in Firefox, you can use PolicyPak to specify Allow or Block Plugin.

how-do-i-set-allow-now-allow-and-remember-or-block-plugin-as-plug-ins-are-requested-0

If the plug in you want to allow is Java, you can add these two lines to the PERMISSIONS section in the PolicyPak Application Settings Manager Firefox Pak.

footprints.unr.edu, plugin-vulnerable:npdeployjava, allow
footprints.unr.edu, plugin:npdeployjava, allow

or, for instance to block the vulnerable and allow the regular one, use this syntax:

footprints.unr.edu, plugin-vulnerable:npdeployjava, block
footprints.unr.edu, plugin:npdeployjava, allow

how-do-i-set-allow-now-allow-and-remember-or-block-plugin-as-plug-ins-are-requested-1

However, if the plug in you want is another plug-in and not Java, you need to learn the plug in name in the database. So, start out on your own machine and use Firefox to specify the ALLOW AND REMEMBER permission or BLOCK PLUGIN permission as seen here.

how-do-i-set-allow-now-allow-and-remember-or-block-plugin-as-plug-ins-are-requested-0

Once this is done, you need to figure out what plug-in was just affected. The way to do this would be to use a tool called SQLLite Browser found here

Open the table / file moz_perms (on FF 42 and newer) or moz_hosts (on FF 41 and older) which will be in the C:\Users\<user>\AppData\Roaming\Mozilla\Filrefox\Profiles\<profile>\permissions.sqllite file.

Discover the name of the plug-in you just approved like what’s seen in this example.

how-do-i-set-allow-now-allow-and-remember-or-block-plugin-as-plug-ins-are-requested-3

Now that you know that, you can use PolicyPak Application Settings Manager and the Firefox Pak to set this permission to Allow or Block.

how-do-i-set-allow-now-allow-and-remember-or-block-plugin-as-plug-ins-are-requested-4

Back