Skip to content
This repository was archived by the owner on May 23, 2026. It is now read-only.

Commit c8801ce

Browse files
committed
oops
1 parent fe71b94 commit c8801ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/CCWData-Code-Injection-Fix.user.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Element.prototype.appendChild = function (c) {
4646
case "text/x-javascript":
4747
return r.text()
4848
}
49-
throw `Refused to execute script from '${src}' because its MIME type ('${type}') is not executable.`
49+
throw Error(`Refused to execute script from '${src}' because its MIME type ('${type}') is not executable.`)
5050
}).then(text => {
5151
c.innerHTML = text.replace(/(?=\([^()]+\)\.push\()/, injectPrefix)
5252
console.log('CCWData-Code-Injection-Fix', appendChild.call(this, c))

0 commit comments

Comments
 (0)