最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

google chrome - Can not open a particular web site, only javascript code is on the screen - Stack Overflow

programmeradmin4浏览0评论

I am trying to open www.exoplatform with Chrome Version 39.0.2171.71 m. All I get on the screen is Javascript code. Tried to open with different browser, the same story.

Tried to open with other notebooks, works perfectly fine.

Any idea what could be the problem?

Some errors from chrome console:

   Uncaught SyntaxError: Unexpected identifier
   (index):2244 Uncaught TypeError: undefined is not a function
    all.js:61 Invalid App Id: Must be a number or numeric string representing the application id. 

    Refused to load the script '.jsp?   
   dlsource=hdrykzc' because it violates the following Content Security Policy directive: 
   "script-src 'unsafe-inline' 'unsafe-eval' 'self' https://*.gstatic 

It sounds really weird.

I can open any other web sites, but just this one. For example I can open: /

I tried to pause Adblock nothing changes.

Any ideas?

I am trying to open www.exoplatform. with Chrome Version 39.0.2171.71 m. All I get on the screen is Javascript code. Tried to open with different browser, the same story.

Tried to open with other notebooks, works perfectly fine.

Any idea what could be the problem?

Some errors from chrome console:

   Uncaught SyntaxError: Unexpected identifier
   (index):2244 Uncaught TypeError: undefined is not a function
    all.js:61 Invalid App Id: Must be a number or numeric string representing the application id. 

    Refused to load the script 'https://www.best-deals-products./ws/sf_main.jsp?   
   dlsource=hdrykzc' because it violates the following Content Security Policy directive: 
   "script-src 'unsafe-inline' 'unsafe-eval' 'self' https://*.gstatic. 

It sounds really weird.

I can open any other web sites, but just this one. For example I can open: http://blog.exoplatform./en/

I tried to pause Adblock nothing changes.

Any ideas?

Share Improve this question asked Nov 28, 2014 at 16:00 amol01amol01 1,8835 gold badges21 silver badges36 bronze badges 4
  • Works fine for me on Version 39.0.2171.71 m. Looks like a local security policy is in place, preventing a required script from loading, hence the issues on rendering the page. – Hywel Rees Commented Nov 28, 2014 at 16:14
  • Can you check your Network Tab in the Chrome Debugger tool and see which call is getting failed. – Achyut Commented Nov 28, 2014 at 16:37
  • I have checked Network tab. but do not see any failure there. – amol01 Commented Nov 28, 2014 at 18:25
  • In case you haven't heard superuser./questions/880062/… – Prinzhorn Commented Feb 19, 2015 at 17:50
Add a ment  | 

2 Answers 2

Reset to default 9

I had this exact problem today with a new laptop I bought (Lenovo y50... is your machine a lenovo by chance?)

Anyways, the problem for me was caused by what is essentially adware injecting that script into ANY page you go to. You only see this error when trying to access a web app, because chrome has stricter security policies for those.

If you google about best-deals-products. you'll find information about how to remove the adware, most of which is pretty unhelpful. Here is what did it for me though:

go to control panel -> add and remove programs look for "Visual Discovery" by Superfish Inc. uninstall that. reboot, and revisit that page.

It has been revealed that many of the Lenovo puters are shipped with a software called "Superfish" which performs man-in-the-middle attack on all HTTP, and even secure HTTPS request using a self-signed SSL certificate.

Furthermore, thanks to the ignorance of the pany behind it, the private key included has already been extracted, ready to be used in public to intercept any HTTPS traffic ing from a Lenovo puter.

That means, even for banking or transactions, any attacker can read the supposedly secure content by sniffing your Wi-Fi signal. This is a very hazardous situation.

You can check out if you're vulnerable here. Lenovo issued an instruction to remove the software and the certificate here.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论