[dev] Remove Javascript--PATCH
Jan Schneider
jan at horde.org
Tue Apr 22 16:01:50 PDT 2003
Zitat von Anthony Mills <amills at gascard.net>:
> Here is a quick patch that should support the browser. Is this basicly
> how it works?
If you only want to forbid popups, yes. If you want to be more restrictive,
something like $this->setFeature('javascript', false) would be better.
> I have not had time to test it. Need to put it on a
> public server to see if it works.
>
> Anthony
>
> # cvs diff Browser.php
>
> Index: Browser.php
> ===================================================================
> RCS file: /repository/horde/lib/Browser.php,v
> retrieving revision 1.96
> diff -r1.96 Browser.php
> 298a299,302
> > } elseif (strstr($this->_agent, 'Danger hiptop')) {
> > $this->setBrowser('hiptop');
> > $this->setQuirk('avoid_popup_windows');
> >
> 482a487
> > case 'hiptop':
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft
More information about the dev
mailing list