Opera Mini

opera-http opera-https opera-ftp

Open links directly in Opera Mini browser. Just add "opera-" at the front of your URL and a new tab will open with desired page.

Application homepage: http://www.opera.com/
iTunes link: https://itunes.apple.com/app/opera-mini-web-browser/id363729560
HTML Link example: <a href="opera-http://www.opera.com/">Opera Software ASA</a>
Native application URL string example: opera-http://handleopenurl.com/scheme/opera-mini
Extended example:

Objective-C example

NSString *path = @"opera-http://handleopenurl.com/scheme/opera-mini"; 
NSURL *operaURL = [NSURL URLWithString:path];
if ([[UIApplication sharedApplication] openURL:operaURL]) {
   // link was successfully opened in Opera Mini
} else {
   // probably there is no Opera Mini on this device, do something else

JavaScript example

If you want to a link on your webpage to be opened in Opera Mini use the function below. If Opera Mini is not available, the page will open in current browser.
function openInOpera(url) {
    setTimeout(function() {
        window.location = url;
    }, 25);
    window.location = "opera-" + url;

Tags: browser

Provided URL schemes were introduced with Opera Mini 8.