I've having app which sometimes open the popup blocker, when the user run the application chrome have some flag in the url box (right side) which tell to the user that the pop-up is blocked ,in this case I give to the user in addition new warning message like "please pay attention the page was blocked please enable it..."
My question is when and in which term I need to do this check again ,assume the user allow the new App page
- if user close and open the browser does he need to enable this pop-up again ?
I know that if the user will run it in diffrent chrome versions (like canary or beta) he probably need to confirm this page again but my question in which cases the pop-up will show again to the same user(which confirm it before)
In which case after allowing the App to run the pop-up blocker will block it again?
Btw I saw that in my company they add the exception to the popup blocker with some automated process, how it can be? there is a code that can do that?(strange...)
I see it when I click on setting search for pop -> privacy -> content settings -> manage exception and then I see
Policies
can be set which override userPreferences
set atSettings
.See Documentation for Administrators, follow links at Windows Quick Start, Mac Quick Start, or Linux Quick Start. Read Configuring Other Preferences, Policy Settings in Chrome
Note, these changes to
Preferences
file should be made when chrome, chromium is closed, that is does not have an ongoing process instance to avoid aSingletonLock
file not being created inDefault
directory a when chrome, chromium is launched again.To set the preference at
Preferences
file in browser configuration file, for example$ gedit ~/.config/chromium/Default/Preferences
where
2
blocks popups,1
allows popups, see alsoDefaultPopupsSetting
.The icon at the right of the
Behavior
atPop-up exceptions
atSettings
indicatesPolicies can applied to devices Set Chrome policies for devices or users Set Chrome policies for users by the administrator.
The formats for policies at different platforms are
For example, to create a mandatory policy for the device for popups at *nix platforms you can create a
.json
file at/etc/chromium-browser/policies/managed/
then set the popup policies for
PopupsBlockedForUrls
,PopupsAllowedForUrls
When chrome, chromium is launched you can verify the policy is being enforced by navigating to
where the policies should be listed; for example
A sample policy list template is available at policy_templates.json, see also Policy Templates.