<noscript> is triggered for no reason in Chrome

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.

Slava Knyazev

Posted 2015-06-04T00:15:26.113

Reputation: 383

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 – 2015-06-04T00:49:20.573

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 – 2015-06-04T01:33:18.800

what are all those plugins you have installed in the top right corner? are any of them blocking javascript? – Russell Uhl – 2015-06-04T12:23:24.390

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 – 2015-06-04T21:16:57.397

@RussellUhl Weird. I disabled all plugins, refreshed but the issue persists. – Slava Knyazev – 2015-06-04T21:20:24.583

@linuxdev2013 Running current stable build on Linux Mint 17.1 64 bit – Slava Knyazev – 2015-06-04T21:20:46.547

Not to be a pain but mint has 2 versions on it at the moment 42.xx or 43.xx – linuxdev2013 – 2015-06-05T10:48:56.863

I assume "All of them" includes adblock? Make sure you disabled the plugins ENTIRELY, and not just "enabled for this page" or whatever. – Russell Uhl – 2015-06-05T12:59:24.763

oh. also open developer tools and Ctrl+F5 to do a full refresh, and see if any errors open up in the console – Russell Uhl – 2015-06-05T13:00:50.097

@linuxdev2013 Aye? "Our latest release is Linux Mint 17.1, codename "Rebecca"." http://www.linuxmint.com/download.php

– Slava Knyazev – 2015-06-05T15:27:46.603

@RussellUhl Tried that, issue persists with same console output. – Slava Knyazev – 2015-06-05T15:28:22.887

any similarity in youtube ? (using @RussellUhl's test) – linuxdev2013 – 2015-06-05T15:40:59.390

@linuxdev2013 Strangely enough, youtube does not have this issue, at all. – Slava Knyazev – 2015-06-05T17:19:42.170

With all plugins enabled? – linuxdev2013 – 2015-06-05T17:24:20.127

@linuxdev2013 Exactly. I think this eliminates the possibility that plugins are causing it. – Slava Knyazev – 2015-06-05T17:58:12.997

can you provide output from '(dmesg |grep 'error|fatal|warning' ; apt policy google-chrome-* ; sudo grep -i 'error|fatal|warning' /var/log/{syslog,messages} ) |pastebin please – linuxdev2013 – 2015-06-05T18:01:56.267

@linuxdev2013 I think I ran it right.. http://paste.linuxmint.com/view/qokz/

– Slava Knyazev – 2015-06-05T18:33:50.837

4Make 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 – 2015-06-15T09:01:00.297

@aff Did that already. "frame" is not mentioned anywhere in the code. – Slava Knyazev – 2015-06-15T16:06:20.083

Try this: Save this as a basic html file on your computer and open it. Let me know what it says. This is about as basic of a Javascript check as you can get. The page you've been using has jQuery, Lightbox, and Google Analytics involved which could be causing issues.

– kazoni – 2015-06-18T14:47:30.430

Answers

2

On Windows you can use this command:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --args --allow-scripts

Ogglas

Posted 2015-06-04T00:15:26.113

Reputation: 920

OP is using Linux Mint not a Windows – pun – 2016-05-17T07:41:29.007

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 – 2016-05-17T07:44:26.210

1

Try running chrome from terminal:

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

Yubin Lee

Posted 2015-06-04T00:15:26.113

Reputation: 163

This Q is from an installation I no longer have but how in the world is this Windows? It's linux... – Slava Knyazev – 2016-04-10T22:42:08.167

It looked like windows, my apologies. I've changed it to Linux. – Yubin Lee – 2016-04-11T12:40:39.740

Now I see it. It's Linux Mint. – Yubin Lee – 2016-04-11T12:41:22.150