Re: [Hackmeeting] pr0n 0.4

Delete this message

Reply to this message
Autor: Johnny
Data:  
Para: hackmeeting
Assunto: Re: [Hackmeeting] pr0n 0.4
On Tue, 2010-09-28 at 20:37 +0200, carl0s[anche.no] wrote:
> NON PUOI ESSERE SERIO.


if (/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent)){
    //test for Firefox/x.x or Firefox x.x (ignoring remaining digits);
    var ffversion=new Number(RegExp.$1)
    // capture x.x portion and store as a number
    if (ffversion>=3)
        document.write('<a href="xpi/pr0n-0.4.xpi"
class="download">download</a>');
    else if (ffversion>=1)
        document.write('<br /><br /><h2>Please, update your
firefox!</h2><br /><br />');
}
else
    document.write('<br /><br /><h2>Pr0n is for firefox. why are you
using another browser?!?</h2><br /><br />');



--
_)()]-[/\//\/`/
GPG key ID: EE201A43
Fingerprint: 9545 3777 D1C6 EE46 46F2 07C1 B959 6C74 EE20 1A43

<<Aleggiava da sempre intorno a Johnny una vaga, gratuita,
ma pleased and pleasing reputazione d'impraticità,
di testa fra le nubi, di letteratura in vita.>>