Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Commit 0a90bb1

Browse files
committed
blacklist opera mini for lazyload images
Add Opera Mini to the lazyload images blacklist, closes #1070
1 parent 01045a9 commit 0a90bb1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pagespeed/kernel/http/user_agent_matcher.cc

+3
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,11 @@ const char* kImageInliningBlacklist[] = {
7575
// Exclude BlackBerry OS 5.0 and older. See
7676
// http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/How-to-detect-the-BlackBerry-Browser/ta-p/559862
7777
// for details on BlackBerry UAs.
78+
// Exclude all Opera Mini: see bug #1070.
79+
// https://github.com/pagespeed/mod_pagespeed/issues/1070
7880
const char* kLazyloadImagesBlacklist[] = {
7981
"BlackBerry*CLDC*",
82+
"*Opera Mini*",
8083
kGooglePlusUserAgent
8184
};
8285

0 commit comments

Comments
 (0)