[Foundation-l] Fundraising

Brion Vibber brion at pobox.com
Mon Jul 12 18:07:38 UTC 2004


Brion Vibber wrote:
> Christopher Mahan wrote:
>> Can we not find a way to find the referer and add a fundraiser if
>> slashdot is in it?
> 
> That would kill caching, which would kill our servers.

Hmm, actually you could probably do a JavaScript hack. Wouldn't reach 
everyone, but it wouldn't bust caches since the check would be client-side.

if (document.referrer.match(/slashdot.org/)) {
   // stick a <div> into the document tree
}

-- brion vibber (brion @ pobox.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : http://lists.wikimedia.org/pipermail/foundation-l/attachments/20040712/a96e296f/attachment-0001.pgp 


More information about the foundation-l mailing list