Re: [squid-users] Add top information to all webpages (like godaddy AD)

From: Ed W <lists_at_wildgooses.com>
Date: Tue, 11 Oct 2011 12:43:43 +0100

So you could be smarter and instead inject some javascript which checks
if you are in a frameset and if not creates one. This of course has
some subtleties with ajax...

Ed W

On 11/10/2011 12:28, Hasanen AL-Bana wrote:
> I believe yes ! but it will cause lots of troubles with pages like
> facebook & gmail
> you can redirect all requests to a url_rewriter script.
> squid will pass the requested url to the script , then the script must
> generate a page with 2 iFrames , first iFrame will hold the Ad, the
> second iFrame goes bellow the first one and will contain the original
> requested page.
> but think of the problems you will face because squid will add that to
> each request which will break all the page ,hence the script must be
> smart enough to process only root pages like index.php index.html ....
>
> On Tue, Oct 11, 2011 at 2:20 PM, Jorge Bastos <mysql.jorge_at_decimal.pt> wrote:
>> Howdy,
>>
>> I'd like to do something that I don't know if that's possible somehow.
>> I have squid configured as transparent, and I'd like to add on everypage that the user visits, information on the top of the pages, like an AD.
>>
>> Is this possible?
>> For example Godaddy has this on the free hosting they provide.
>>
>> Thanks in advanced,
>> Jorge Bastos,
Received on Tue Oct 11 2011 - 11:43:46 MDT

This archive was generated by hypermail 2.2.0 : Tue Oct 11 2011 - 12:00:04 MDT