| | |
Websites Takeover - Help
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
Hi to all, I have the following problem:
I have a page that includes an iframe, this iframe is dynamic (meaning that I don't know what will be its source, user can insert any URL). The problem is that are some URLs that take over all over the site, I found that in the URL(pages) they are using the following code
They check if the top.location(the main page is not the same), if is not the same they override the location, the result of this code is that the page take over and the URL(page) is displayed in all the page and not only in the iframe.
I was wandering if there is a way to stop this, how I can know the page is going to take over?
Is there is a way to stop this?
This is driving me crazy...
I'll appreciative any help to solve this
Thanks in advanced
I have a page that includes an iframe, this iframe is dynamic (meaning that I don't know what will be its source, user can insert any URL). The problem is that are some URLs that take over all over the site, I found that in the URL(pages) they are using the following code
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
page=self.location.href; if(page!=top.location.href) top.location.href=page;
I was wandering if there is a way to stop this, how I can know the page is going to take over?
Is there is a way to stop this?
This is driving me crazy...
I'll appreciative any help to solve this
Thanks in advanced
its a framebreaker,
to reduce bandwidth theft, content theft
stop stealing other sites' content,
stop stealing other sites' bandwidth,
open pages in a new tab not in your iframe,
use their RSS feed if they provide one,
or contact the site owner and seek a licensing deal for their content.
to reduce bandwidth theft, content theft
stop stealing other sites' content,
stop stealing other sites' bandwidth,
open pages in a new tab not in your iframe,
use their RSS feed if they provide one,
or contact the site owner and seek a licensing deal for their content.
Last edited by almostbob; Apr 5th, 2009 at 4:18 pm.
Failure is not an option It's included free
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
•
•
Join Date: May 2008
Posts: 232
Reputation:
Solved Threads: 19
Its just Javascript, there is nothing you can do to stop it without serious modification to the users browser or changing the source of the page. To quote from almostbob
If it was my site you were stealing from I would be really P***ed off with you. Just don't be so stupid and write your own content. Its called web DEVELOPMENT which implies that you actual develop something rather than just nicking other peoples stuff.
•
•
•
•
stop stealing other sites' content,
stop stealing other sites' bandwidth,
My Blog, Life and everything that matters to me - SamRudge.co.uk
2x Macbook Pro's, 1x Mac Pro, 1x iMac, 2x Macbook's running Fedora linux - In conclusion, I hate windows =)
2x Macbook Pro's, 1x Mac Pro, 1x iMac, 2x Macbook's running Fedora linux - In conclusion, I hate windows =)
•
•
Join Date: May 2008
Posts: 232
Reputation:
Solved Threads: 19
Well their is still nothing you can do to stop it, and whether your selecting the page to display in the frame or your users are you would still need permission to do this.
My Blog, Life and everything that matters to me - SamRudge.co.uk
2x Macbook Pro's, 1x Mac Pro, 1x iMac, 2x Macbook's running Fedora linux - In conclusion, I hate windows =)
2x Macbook Pro's, 1x Mac Pro, 1x iMac, 2x Macbook's running Fedora linux - In conclusion, I hate windows =)
![]() |
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: how to establish serial port communication using javascript for webpage
- Next Thread: Hover Menu Help
| Thread Tools | Search this Thread |
ajax ajaxcode ajaxexample ajaxhelp ajaxjspservlets animate automatically beta box browser bug calendar captchaformproblem checkbox child class close column createrange() css cursor date debugger dependent disablefirebug dom download dropdown editor element embed engine error events explorer ext file form forms getselection google gwt gxt hiddenvalue highlightedword hint html htmlform ie7 ie8 iframe images internet java javascript javascripthelp2020 jawascriptruntimeerror jquery jsf jsfile jump libcurl math media microsoft mimic object onmouseoutdivproblem onreadystatechange parent paypal pdf php player position post problem programming progressbar regex runtime scroll search security select shopping size software sql text textarea unicode w3c web website window windowofwords windowsxp wysiwyg \n






