At some point, our code to suppress the qz:launch pop-ups stopped working.
Initial glance would blame the deprecation of URLWhitelist, but changing this to URLAllowlist on Windows doesn't seem to fix the symptom.
Code policy locations -- click to expand (outdated)
Code:
-
Mac:
|
ShellUtilities.execute("/usr/bin/defaults", "write", plist, "URLWhitelist", "-array-add", DATA_DIR +"://*"); |
-
Linux:
|
public static final String CHROME_POLICY = "{ \"URLWhitelist\": [\"" + DATA_DIR + "://*\"] }"; |
-
Windows:
|
WindowsUtilities.addNumberedRegValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Policies\\Google\\Chrome\\URLWhitelist", String.format("%s://*", DATA_DIR)); |
With regards to whether or not the "Always allow" checkbox is shown, there's a policy for that as well, which we don't currently configure:
Historically, we've suppressed this pop-up via policy, but recent version of Chrome seem to show this pop-up:

At some point, our code to suppress the
qz:launchpop-ups stopped working.Initial glance would blame the deprecation of
URLWhitelist, but changing this toURLAllowliston Windows doesn't seem to fix the symptom.Code policy locations -- click to expand (outdated)
Code:
Mac:
tray/src/qz/installer/MacInstaller.java
Line 70 in 291200f
Linux:
tray/src/qz/installer/LinuxInstaller.java
Line 30 in 291200f
Windows:
tray/src/qz/installer/WindowsInstaller.java
Line 148 in 291200f
With regards to whether or not the "Always allow" checkbox is shown, there's a policy for that as well, which we don't currently configure:
Historically, we've suppressed this pop-up via policy, but recent version of Chrome seem to show this pop-up: