A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/es/docs/Web/JavaScript/Reference/Errors/Property_access_denied below:

Error: Permission denied to access property "x" - JavaScript

Error: Permission denied to access property "x" Mensaje
Error: Permission denied to access property "x"
Tipo de error

Error.

¿Cuál es el problema?

Se ha intentado acceder a un objeto al cual no tienes permiso. Probablemente es un elemento <iframe> cargado de otro dominio en el cual violaste la política del mismo origen.

Ejemplos
<!doctype html>
<html>
  <head>
    <iframe
      id="myframe"
      src="http://www1.w3c-test.org/common/blank.html"></iframe>
    <script>
      onload = function () {
        console.log(frames[0].document);
        // Error: Permission denied to access property "document"
      };
    </script>
  </head>
  <body></body>
</html>
Véase también

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4