Now with glype this is easy! I'm looking to add adverts to the proxy frame using phproxy. I've tried this method,
Code:
$_url_form = '<div style="width:100%;margin:0;text-align:center;border-bottom:1px solid
#000;color:#fff;background:#654d8d;font-size:12px;font-weight:bold;font-family:Bitstream Vera
Sans,arial,sans-serif;padding:4px;">'
. '<form method="post" action="' . $_script_url . '">'
. ' <label for="____' . $_config['url_var_name'] . '"><a href="' . $_url .
'">Address</a>:</label> <input id="____' . $_config['url_var_name'] . '" type="text" size="80" name="' .
$_config['url_var_name'] . '" value="' . $_url . '" />'
. ' <input type="submit" name="go" value="Go" />'
. ' [go: <a href="' . $_script_url . '?' . $_config['url_var_name'] . '=' .
encode_url($_url_parts['prev_dir']) .' ">up one dir</a>, <a href="' . $_script_base . '">main page</a>]'
. '<br /><hr />';
Adding to the code to,
Code:
. '<br /><hr />'<!-- Begin: AdBrite, Generated: 2009-02-09 7:59:31 -->
<script type="text/javascript">
var AdBrite_Title_Color = '0000FF';
var AdBrite_Text_Color = '000000';
var AdBrite_Background_Color = 'FFFFFF';
var AdBrite_Border_Color = 'CCCCCC';
var AdBrite_URL_Color = '008000';
try{var AdBrite_Iframe=window.top!=window.self?2:1;var AdBrite_Referrer=document.referrer==''?document.location:document.referrer;AdBrite_Referrer=encodeURIComponent(AdBrite_Referrer);}catch(e){var AdBrite_Iframe='';var AdBrite_Referrer='';}
</script>
<span style="white-space:nowrap;"><script type="text/javascript">document.write(String.fromCharCode(60,83,67,82,73,80,84));document.write(' src="http://ads.adbrite.com/mb/text_group.php?sid=1024134&zs=3436385f3630&ifr='+AdBrite_Iframe+'&ref='+AdBrite_Referrer+'" type="text/javascript">');document.write(String.fromCharCode(60,47,83,67,82,73,80,84,62));</script>
<a target="_top" href="http://www.adbrite.com/mb/commerce/purchase_form.php?opid=1024134&afsid=1"><img src="http://files.adbrite.com/mb/images/adbrite-your-ad-here-banner.gif" style="background-color:#CCCCCC;border:none;padding:0;margin:0;" alt="Your Ad Here" width="11" height="60" border="0" /></a></span>
<!-- End: AdBrite -->;
I am trying to add code between these tags,
I just can't get it to work, what am I missing?
Bookmarks