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 906e217 commit bf2429eCopy full SHA for bf2429e
packages/common/url.js
@@ -52,7 +52,11 @@ export const getSandboxOptions = (url: string) => {
52
result.enableEslint = url.includes('eslint=1');
53
result.forceRefresh = url.includes('forcerefresh=1');
54
result.expandDevTools = url.includes('expanddevtools=1');
55
- result.runOnClick = url.includes('runonclick=1');
+ result.runOnClick = url.includes('runonclick=0')
56
+ ? false
57
+ : url.includes('runonclick=1') ||
58
+ navigator.appVersion.indexOf('X11') !== -1 ||
59
+ navigator.appVersion.indexOf('Linux') !== -1;
60
61
return result;
62
};
0 commit comments