Scripts w/ quotes (") in their usernames fail to get injected.
Reproduction steps:
- Create a new script with quotes in the name.
// ==UserScript==
// @name My "Quoted" Script
// @match <all_urls>
// @exclude-match *://*.google.com/*
// @noframes
// ==/UserScript==
console.log(`This will never trigger b/c of the "Quoted" bit in the name.`);
- Observe the following error and that the log isn't run.

I believe the issue lies here:
|
const US_filename = "${filename}"; |
Scripts w/ quotes (") in their usernames fail to get injected.
Reproduction steps:
I believe the issue lies here:
userscripts/extension/Userscripts Extension/Resources/content.js
Line 246 in 686eac8