![]() |
I cannot get domain / url from an html page
Hello!
I have many .html files. They contain unchanged information as: quarterly reports, annual reports, term of services,... I don't use PHP because of server load problem. Most of them ( .html files) is inserted into http://mydomain.com/index.php as iframe. Recently, I found other websites "borrowing" my files into their iframe. I tried to make a barrier (using some JavaScript lines in .html files) and I failed. An example my .html file: myreport.html Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">I think the browser prevent XSS access. So, JavaScript cannot get parent window URL from other domain. I could not explore which domain / site inserted my files with JavaScript. My .htaccess file is too big. I don't want to you it. Please help me using JavaScript to prevent others to get my .html files. I want to use JavaScript in these files. Any suggestions or help will be appreciated. Thanks a lot. |
| All times are GMT. The time now is 08:33 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0