Posted March 12, 20169 yr Guys, what the hell is this ? Did they just include an iframe of your site as background for their swindle ?! http://minecraftforge.getvip.top/
March 12, 20169 yr Yes, there are a lot of sites that do shit like this. It's annoying and we can't really do anything about it -.- I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
March 21, 20169 yr Actually you can, all major modern browsers (Chrome,Firefox,IE 8+, etc) support a HTTP header named X-Frame-Options. If a server sends that header with whatever page it is serving, the browser will not allow it to be rendered in a <frame>, <iframe>, or <object> tag. Since you seem to be using Apache, simply adding the following to your Apache config will make the server send it for everything that it serves. Header always append X-Frame-Options DENY Or switch out DENY with SAMEORIGIN if needing to allow framing on your own pages. For instance, Stackoverflow uses it to prevent sites from framing there content There are of course techniques to get around it, like scraping the target site and directly rendering the html, but I don't think many of these types of sites do anything more than just include an iframe. RFC 7034 paper MDN reference page
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.