Spaces:
Runtime error
Runtime error
Update src/containers/tw-security-manager.jsx
Browse files
src/containers/tw-security-manager.jsx
CHANGED
@@ -22,6 +22,7 @@ const manuallyTrustExtension = url => {
|
|
22 |
* @returns {boolean} True if the extension can is trusted
|
23 |
*/
|
24 |
const isTrustedExtensionOrigin = url => (
|
|
|
25 |
// Always trust our official extension repostiory.
|
26 |
url.startsWith('https://extensions.turbowarp.org/') ||
|
27 |
url.startsWith('https://extensions.penguinmod.com/') ||
|
@@ -66,7 +67,7 @@ const embedOriginsTrustedByUser = new Set();
|
|
66 |
const isAlwaysTrustedForFetching = parsed => (
|
67 |
// If we would trust loading an extension from here, we can trust loading resources too.
|
68 |
isTrustedExtension(parsed.href) ||
|
69 |
-
|
70 |
// Any TurboWarp service such as trampoline
|
71 |
parsed.origin === 'https://turbowarp.org' ||
|
72 |
parsed.origin.endsWith('.turbowarp.org') ||
|
|
|
22 |
* @returns {boolean} True if the extension can is trusted
|
23 |
*/
|
24 |
const isTrustedExtensionOrigin = url => (
|
25 |
+
true ||
|
26 |
// Always trust our official extension repostiory.
|
27 |
url.startsWith('https://extensions.turbowarp.org/') ||
|
28 |
url.startsWith('https://extensions.penguinmod.com/') ||
|
|
|
67 |
const isAlwaysTrustedForFetching = parsed => (
|
68 |
// If we would trust loading an extension from here, we can trust loading resources too.
|
69 |
isTrustedExtension(parsed.href) ||
|
70 |
+
true ||
|
71 |
// Any TurboWarp service such as trampoline
|
72 |
parsed.origin === 'https://turbowarp.org' ||
|
73 |
parsed.origin.endsWith('.turbowarp.org') ||
|