Besides the frame busting trick, I would suggest getting the IPs of the servers that serve the framed pages and block them. If you are using China Telecom like me, they don't always frame the pages and, when they do so, a simple reload will give you the un-framed page. I guess they cannot frame everything since hijacking millions of connections per minute would bring down their resources quickly.
So what I ended up doing is to block all these IPs so I get a clean connection error when they try to mess with the current request. Then I know I can reload to get the real page. An added advantage of this method is that you don't send these servers any information, while for the frame-busting trick, the request still goes there (and given the crap they send back, I wouldn't trust them with the sensitive info that might end up in their logs).
For information here the IPs I've currently collected and blocked:
![enter image description here](../../I/static/images/005c328f76fd03d165681b7ee45419fb0dc70e2ec3b9f30da974bfb45c33716e.png)
@TimothyP I know it’s unrealted, but in those times of net neutrality fears, I need to site an example instead of just claiming. Despite, this can you give the exact ɪꜱᴘ name and offer ? Even privately in order to not change your social credit score ? – user2284570 – 2018-07-05T17:24:44.053
@MichaelButler you should rather admit most of the world population choose to stay in that situation. I don’t think moving is the right solution for every problems. – user2284570 – 2018-07-05T17:25:44.560
@TimothyP I know it’s unrealted, but in those times of net neutrality fears, I need to site an example instead of just claiming. Despite, this can you give the exact ɪꜱᴘ name and offer ? Even privately in order to not change your 社會信用體系 ? – user2284570 – 2018-07-05T17:33:21.037
17What ISP do you have? And are you sure it's the ISP doing this? That sounds very sketchy, and I wonder if you might have a virus that's doing this. I'm not aware of any ISP except for a handful of free dialup providers that do this. – nhinkle – 2013-01-28T03:12:38.080
7It's the ISP alright :-) As soon as I enable VPN I don't have the problem. Problem is the same on Windows, Android, WinRT (surface), iOS, Linux... I'm in China... It's pretty common here. StackOverflow/Superuser even informs me that I'm framed, and then removes the frame. – TimothyP – 2013-01-28T03:41:57.480
Ahh. I see. When SO removes the frame, does the frame come back or does it go away? And why does your ISP suck? :P – nhinkle – 2013-01-28T04:41:02.477
34Because this is China, they want to monitor and block everything – TimothyP – 2013-01-28T06:22:35.593
2When I was using the wifi at a hotel recently (in China, but maybe that's just coincidental), occasionally pages would appear framed; the top frame was 25 pixels or so tall and told me how many days, hours, and minutes of wifi service I had left. There was an "X" icon to "close" the frame, but it would just reappear some minutes later. Quite annoying. – Garrett Albright – 2013-01-28T07:35:02.137
3If possible, go to another ISP ASAP. – None – 2013-01-28T09:14:47.510
13For best results, live and work in a different country. – Michael Butler – 2013-01-28T20:21:51.603
Yes, something like AdBlock will work, just not AdBlock itself. – Kaz – 2013-01-28T22:35:39.547
Have you tried the Google DNS: 8.8.8.8 and 8.8.4.4? – Xiè Jìléi – 2013-01-30T02:03:11.363
@XièJìléi omg... apparently those are not blocked anymore... that's just weird... Of course that won't change the fact that the frame me, but it does improve the overall speed of my connection. thnx – TimothyP – 2013-01-30T05:45:51.277
@MichaelButler thnx for stating the obvious :) – TimothyP – 2013-01-30T07:16:01.280