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 67b1c8e commit a6e1ab9Copy full SHA for a6e1ab9
src/index.html
@@ -217,6 +217,12 @@ <h2>Privacy</h2>
217
/** @type {HTMLElement} */
218
const output = document.querySelector('.output');
219
220
+ const searchParams = new URLSearchParams(location.search);
221
+ const platformParam = searchParams.get('platform');
222
+ if (platformParam && Object.prototype.hasOwnProperty.call(sb3fix.platforms, platformParam)) {
223
+ platformInput.value = platformParam;
224
+ }
225
+
226
// Start handling drag events as soon as possible
227
const dropIndicator = document.querySelector('.drop-indicator');
228
document.addEventListener('dragover', (e) => {
0 commit comments