///Arch
Hej!
Jag har försökt att ladda upp min html kod på min sida...
När jag försöker ladda upp koden får jag felmeddelandet "Refused to display "min google drive mapp url" in a frame because it set 'X-frame-options to 'SAMEORIGIN'".
Min domän är skapat på freenom.com och jag har "kopplat" domänen med min google drive mapp med html koden...
Jag testade att försöka printa koden:
<!DOCTYPE html>
<html>
<body>
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>
</body>
</html>
Skulle vara tacksam om någon hjälpte mig.
Tack i förhand.
Det har nåt att göra med att du inte kan ladda sidor från en annan domän. Eller nåt liknande.
Försöker du ha din googledrive som webhotell?
Edit: Lite googlande och jag fann detta
The X-Frame-Options HTTP response header can be used to indicate whether or not a browser should be allowed to render a page in a <frame>, <iframe> or <object> . Sites can use this to avoid clickjacking attacks, by ensuring that their content is not embedded into other sites.
SAMEORIGIN
The page can only be displayed in a frame on the same origin as the page itself.
Källa: The X-Frame-Options response header@developer.mozilla.org
///Arch
Aa, exakt
Copyright © 1999–2024 Geeks AB. Allt innehåll tillhör Geeks AB.
Citering är tillåten om källan anges.