Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title> Tytuł Strony - Numer: 15 </title>
- <meta charset="utf-8" />
- <script type="text/javascript">
- var url = document.URL;
- var title = document.title;
- var modified = document.lastModified;
- function refresh() {
- location.reload();
- }
- function close() {
- window.top.close();
- }
- function browarowa() {
- location.href='http://www.browarowa.pl'
- }
- function ramka() {
- var x = document.createElement("IFRAME");
- x.setAttribute("src", document.URL);
- document.body.appendChild(x);
- }
- document.writeln("<hr>")
- document.writeln("Tytuł strony: <strong>" + title + "</strong> <br>");
- document.writeln("Adres URL: <strong>" + url + "</strong> <br>");
- document.writeln("Ostatnia modyfikacja: <strong>" + modified + "</strong> <br>");
- document.writeln("<hr>")
- document.writeln("Nazwa: <strong>" + navigator.appName + "</strong> <br>")
- document.writeln("Wersja: <strong>" + navigator.appVersion + "</strong> <br>")
- document.writeln("Język: <strong>" + navigator.language + "</strong> <br>")
- document.writeln("<hr>")
- document.writeln("Szerokość: <strong>" + screen.width + " px</strong> <br>");
- document.writeln("Wysokość: <strong>" + screen.height + " px</strong> <br>");
- document.writeln("Głębia kolorów: <strong>" + screen.colorDepth + " </strong> <br>");
- document.writeln("<hr>")
- </script>
- </head>
- <body>
- <p><button onclick="refresh();">Przeładnie strony</button></p>
- <!-- To coś się psuje -->
- <p><button onclick="close();">Zamknięcie strony</button></p>
- <p><button onclick="browarowa();">ZSP Żnin</button></p>
- <p><button onclick="ramka();">200px na 200px</button></p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement