UserJS for MegaMillions.com
Monday, October 31, 2005 2:40:05 AM
The US national lottery, MegaMillions, uses a very old browser sniffer developed around the time of Opera 6. This fragile browser sniffer breaks the DHTML menu and news scroller for Opera 8+ users. The following User JS was developed to allow access to these DHTML elements on the MegaMillions website:
Download/view megaMillions.js
For those of you who play MegaMillions and visit their website, enjoy!
Download/view megaMillions.js
if (document.domain.match(/^(www\.)?megamillions\.com$/)) {
window.opera.defineMagicVariable("Opera6",
function() { return 1; },
null);
window.opera.defineMagicVariable("dom",
function() { return 1; },
null);
}
For those of you who play MegaMillions and visit their website, enjoy!

Scottangrykeyboarder # Tuesday, October 17, 2006 1:23:12 PM
On a related note, can you say PowerBall? I knew you could....
powerball.com