QuickTopic (SM) free message boards QuickTopic (SM) free message boards
Skip to Messages
  Sign In to access your topic list  |New Topic |My Topics|Profile
Upgrade to Pro   Customize, show pictures, add an intro, and more:   QuickTopic Pro...and check out QuickThreadSM
Topic: NPR renews rotten linking policy -- again
Views: 523, Unique: 400 
Subscribers: 1
What's
this?
Printer-Friendly Page
Subscribe to get & post, or stop messages by email Subscribe
All messages    << 5-7  4-4 of 7  1-3 >>
About these ads
Who | When
Messagessort recent-bottom   
Post a new message
 
hboPerson was signed in when posted  4
06-28-2002 01:50 AM ET (US)
I haven't kept up with the discussion of this topic. But I was interested to note that they use javascript on their policy page (and perhaps throughout the site) to try to enforce their no-framing policy. The following little CGI got me around that problem:

#!/usr/bin/perl
use CGI qw/:standard/;
use LWP::UserAgent;
my $ua = LWP::UserAgent->new;
my $q = new CGI;
my $stupidurl= "http://www.npr.org/about/termsofuse.html";
my $req = new HTTP::Request 'GET',$stupidurl;
my $resp=$ua->request($req);
my $stupid=$resp->content;
$stupid=~s/if \(window \!\= top\).*?}//s;
print header;
print $stupid;

The result can be seen at http://www.egbok.com/npr_frame_THIS.html
RSS link What's this?
All messages    << 5-7  4-4 of 7  1-3 >>
QuickTopicSM message boards
Over 200,000 topics served
Learn more Frequently asked questions  Acknowledgements
What they're saying about QuickTopic
 Questions, comments, or suggestions? Contact Us
Read our use policy before beginning. We value your privacy; please read our privacy statement.
Copyright ©1999-2008 Internicity Inc. All rights reserved.