Mike Taylor, Mozilla
with(navigator) {
Browser=appName;
Version=parseInt(appVersion.charAt(0));
}
if(ua.indexOf('Firefox/3') !=-1) {
type = "mp4";
format = "mp4";
} else if (ua.indexOf('Firefox') !=-1) {
type = "webm";
format = "webm";
}
Firefox/3.0 -> mp4
Firefox/29.0 -> webm
Firefox/30.0 -> mp4
Firefox/39.0 -> mp4
Firefox/40.0 -> webm
Firefox/300.0 -> mp4
if (is_iphone || android) {
var supportsOrientationChange = "onorientationchange" in window,
orientationEvent = supportsOrientationChange ?
"orientationchange" : "resize"
window.addEventListener(orientationEvent, function() {
if (window.orientation != 0)
badOrientation();
}}
window.orientation != 0
undefined != 0
me.definitions.push('function ' + name + '(' + me.fnArgs + ') {',
' try { with(values) {',
' ' + action,
' }} catch(e) {',
'}',
'}');
var f = someCondition ?
{entries: [{}, {}]} :
[{}, {}];
if (f.entries) {
explodeIfYouPassMeAnArray(f);
}
.button {
background:-webkit-gradient(linear,left top,right top,
from(#c5ccd4), color-stop(71%, #c5ccd4),
color-stop(72%, #cbd2d8),to(#cbd2d8));
}
.ChannelListing .crafts{
background-color:#cfb793;
background-image:url(/ui/images/mobile/skins/channel-listing/crafts.png);
background-position-y:8px;
background-position-x:7px;
}
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.sansimera.gr
User-Agent: Mozilla/5.0 (Android; Mobile; rv:25.0) Gecko/25.0 Firefox/25.0
HTTP/1.1 403 Bad Behavior
π - "Mozilla/5.0 (Android; Mobile; rv:25.0) Gecko/25.0 Firefox/25.0"
π - "Mozilla/5.0 (Android; Mobile; rv:25.0) Gecko/24.0 Firefox/25.0"
π - "Android Mobile Gecko/24.0"
π - "Android Mobile Gecko/1"
π - "Android Mobile"
π - "Android Mobile Gecko/25"
π - "Android Mobile Gecko/26"
π - "Android Mobile Gecko/100"