13

I think I found a bug in Chrome, and I kind of have no idea where to post but it may as well be a misconfiguration on my part or something.

Here is the issue. I'll include a screenshot which should explain the main idea of the issue.

enter image description here
(Click image to enlarge)

JavaScript is enabled and yet http://enable-javascript.com acts as if it weren't.

It's kind of vague though. Luckily Google Chrome's console makes everything clear.

Blocked script execution in 'http://enable-javascript.com/' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.

...but this is just Google Chrome's paranoia since there is no frame elements and "sandbox" is never mentioned in the code.

Any pointers would be helpful!

Update:

  • Issue not present in incognito mode
  • Disabled extensions did not help
  • Reinstalling system did not help
  • This affects all webkit browsers (Opera, Chrome, Chromium)

If I navigate to the URL directly, the issue is not present, however if I click a link to get to that page - the issue is in fact present. Refreshing on a dysfunctional page does not fix a thing.

  • Please Confirm the OS and chrome versions as the "current" stable / beta / unstable (canary ) have a different layout for that part of the advanced settings.. – linuxdev2013 Jun 4 '15 at 0:49
  • Note that 'Sandboxing' is isolating executing code so that it cannot interact with other executing code. Sandboxing protects your system from malicious scripts, by keeping the script from doing things like reading files from your harddisk, reading/modifying memory from other processes or tabs. These days, Java, Javascript, and Flash generally run in a sandbox to protect users from drive-by-download trojans. IFrames are often dangerous, because they can dynamically inject foreign content into a page, so it makes sense to not allow their contents to execute arbitrary script code. – Frank Thomas Jun 4 '15 at 1:33
  • what are all those plugins you have installed in the top right corner? are any of them blocking javascript? – Russell Uhl Jun 4 '15 at 12:23
  • 1
    @RussellUhl Well this is interesting. I went into incognito mode (no plugins) and it works fine. I will try to find the one causing the issue and update. – Slava Knyazev Jun 4 '15 at 21:16
  • 4
    Make sure your ISP or proxy does not add frames to web pages you visit. Open developer tools, go to the Elements/Sources tab to view the source, search for the word frame. – aff Jun 15 '15 at 9:01
2

On Windows you can use this command:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --args --allow-scripts
  • OP is using Linux Mint not a Windows – pun May 17 '16 at 7:41
  • 1
    @The_IT_Guy_You_Don't_Like Correct but I only found this thread when searching for this error. I hope my answer will help other Windows users like myself. – Ogglas May 17 '16 at 7:44
1

Try running chrome from terminal:

./chrome.exe --args --allow-scripts

  • This Q is from an installation I no longer have but how in the world is this Windows? It's linux... – Slava Knyazev Apr 10 '16 at 22:42
  • It looked like windows, my apologies. I've changed it to Linux. – Yubin Lee Apr 11 '16 at 12:40
  • Now I see it. It's Linux Mint. – Yubin Lee Apr 11 '16 at 12:41

protected by Community Jun 12 '17 at 10:30

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.