Script not authenticated

Asked

Viewed 4,145 times

3

Time and again I come across an icon in the browser bar, stating that the page is trying to load scripts from an authenticated source.

Why does this happen?

2 answers

3


Problem

This happens when the page is https and an http-only link is used in the script src.

Example

Page url:

https:\\wwww.minhapagina.com.br

Script used:

<script src="http:\\wwww.minhapagina.com.br\meuscript.js"></script>

Solution

To load the script (Example of google Chrome)

To see the full page:

  1. To the right of the address bar, click Blocked content Blocked content.
  2. In the alert, click Upload the entire site.
  3. The page will load.

If the error mentions scripts, you can see the whole page by clicking Load unsafe script.

Source: https://support.google.com/chrome/answer/99020?co=GENIE.Platform%3DDesktop&hl=en-BR

  • The script is loaded yes.

  • Minto, I already left it loaded here in my browser.

  • has this link that you can activate the script: https://support.google.com/chrome/answer/99020?co=GENIE.Platform%3DDesktop&hl=en

  • I edited the question showing how to activate in google Chrome.

1

Wictor Keys' answer is correct in parts.

It also has the following question: you have loaded javascript as HTTPS but it does an ajax call without using HTTPS (for a php page for example), it will also alert you that the script is trying to load an unauthenticated source script.

In short, use HTTPS at all.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.