We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a26a32a commit 451afbbCopy full SHA for 451afbb
loader.js
@@ -143,6 +143,12 @@ function setSavedDeviceId(deviceId) {
143
144
// At boot, show a window to choose which type of device you have...
145
window.addEventListener('load', (event) => {
146
+ if (window.location.search) {
147
+ let searchParams = new URLSearchParams(window.location.search);
148
+ if (searchParams.has("dev_id")) // dev_id=BANGLEJS2 for example, to stop the popup
149
+ setSavedDeviceId(searchParams.get("dev_id"));
150
+ }
151
+
152
let deviceId = getSavedDeviceId()
153
if (deviceId !== undefined) return; // already chosen
154
0 commit comments