Customize blogger blog for opera mini browsers


Enable desktop view rendering of your blog in Opera Mini even when mobile view is enabled in your blog! Just edit the blog template and add the Javascript code after the head tag.




Mobile web browsers like Opera Mini are capable of loading desktop view of a website faster. Most of the mobile device traffic to this blog are from Opera MINI browser.
When your blog is enabled for mobile view for mobile browsers, then Opera Mini will load your blog in mobile view! But we can achieve it.
There is no straight forward way to load desktop view in Opera MINI browser when mobile view is enabled in your blog.
To do so, you need to follow simple steps as follows:




Step 1:
Edit your blog template.

Step 2:
Copy the below code and paste it after the <head> tag in your blog template.

<script type="text/javascript">
browser = navigator.appName;
var url = document.URL;
if((browser==&quot;Opera&quot;)&amp;&amp;(/\?m\=1$/.test(url)))
{
url = url.replace(/\?m\=1$/g,&quot;?m=0&quot;);
window.location.href = url;
}
</script>
Step 3:
Now save the blog template, and visit the blog post in Opera mini browser. The page will be loaded in mobile view even when mobile view is enabled in your blog!

If you are viewing this post in Opera mini browser, leave your comment below.

Mobile Corner

STARTING A COMPUTER BUSINESS CENTER

Starting a computer business center Lately, there has been a lot of racket about starting a computer business centre in this website. Que...