What is Site Patches and User-agent Masking in Opera Mini

If you have read my post on Opera Mini Tricks, then you know what I mean by the heading. But if you haven’t done it yet, just open your favourite Opera Mini browser and type in address bar opera:config (or just config: ). You will see the Power-User settings menu where you can change the values of few of your browser’s default settings. Every option in the menu is self-explanatory except the option of site patches and user-agent masking. It will look something like the below image.

site patches user-agent masking
Site Patches User-agent Masking in Opera Mini

What is Site Patching and User-agent Masking

[the_ad_placement id=”manual”]

So what exactly is site patching and user-agent masking? Though I am speaking of only opera mini, but this option also applies to all other mobile and desktop browsers. This option may not be present directly in the menu items of the browsers but if you dig deeper you will finally find one. These two options are very helpful and also mostly required from user perspective but may even be a killer for the developers or webmasters. Let’s have a close look at these two options.

What is Site Patching

No website is ever perfect. They are made by humans and as you all know that humans make mistakes. Many websites on the World Wide Web actually have errors in their codes. These errors may be in the HTML, the CSS or the scripting languages used at the server side.

When you request for a site content through your browser, what the browser gets in return is the HTML code (along with many other codes) of your requested website. It runs this code and renders you the website in a graphical way containing easy to read text and images. Now what happens if the code the browser got from the website’s server contains errors? Here’s where the site patching comes into play.

Browsers instead of telling the users that the requested website page contains errors in the code, they actually try to rectify it. They correct the wrongly coded things and even add their own code if required. After this correction only, you are able to see that website though it has some coding errors. This action on part of browsers is referred as Site Patching. It is done for better user experience, otherwise you know how it would feel if you opened 10 sites and 8 of them didn’t show up anything.

site patches user-agent masking

What is User-agent Masking

User-agent is a string your browser sends to a website’s server which contains information about your operating system, browser name and version, language and other details. This user-agent helps the server identify your operating system, browser so that it sends the response code accordingly. Now user-agent masking is nothing but hiding this user-agent from the server.

User Agent Example
Example of User-agent

Browsers use this technique to solve the compatibility issues across different browsers. For example, Opera desktop browser is often overlooked while the developers design their websites. So it is highly probable that a website may not render properly in Opera but works fine with Firefox or Chrome. Now what Opera browser does is that it sends the user-agent of Firefox or Chrome to the server. This way it hides or masks its own user-agent and the server thinks it to be Firefox or Chrome and sends the requested info accordingly. Opera gets that code and renders it to the user.

One thing to note here is that when the website cannot be rendered properly to Opera users, opera can apply site patching and change the code as required so that it works well with it. But if the problem can be solved by simple user-agent masking then it does not go for the time consuming site patching.

Final Words

So coming back to opera mini, the option Site Patches and User-agent Masking is enabled by default. Keeping it enabled is good from user perspective as you may have known by now. Still have any doubts? Waiting for your comments.

Opera Mini Secret Codes – Be a Step Ahead

Here are some opera mini secret codes which will make your tasks easier. As you all know that opera mini is the most used mobile browser in the world having its versions on java, symbian, android, iphone and other platforms. Though it is so popular, many do not know some of the codes hidden inside opera mini. Few of these codes are very helpful at times, particularly when you don’t own a smartphone and have to be satisfied with a feature phone.

Opera Mini Secret Codes

The interface of opera mini is very similar in all the mobile phone platforms, so the codes I’m going to share should work nearly on every device having opera mini installed. So now let’s begin with our codes.

Opera Mini Secret Codes

1. server:source

I like this particular code very much. Typing this code in the address bar will return you the source code ( HTML code) of the webpage you are presently on. Without this code you have to switch to desktop computer to get the source code of any webpage. This code has helped me, to some extent, to carry on with my computer programming when I’m not on desktop PC. It’s a boon to java phone users. A useful code for developers.

If you know the url of the web page then you can also use this google dork. Open google then type cache:<your_url>. Then you will find an option at the top to view source code.

2. opera:config (or config:)

[the_ad_placement id=”manual”]

Another most useful code, gives the user a list of power-user settings to tweak with. These options are not visible to a normal user. Following are the options you get to edit:

  • Large placeholders for images
  • Loading timeout
  • Site patches and user – agent masking
  • Keep styling in RSS feeds
  • Fold link list
  • Phone number detection
  • Minimum phone number length
  • Use bitmap fonts for complex scripts (useful to read language scripts other than English)
  • Show feed index
  • Show a list of page feeds at the top of the page

3. opera:about (or about:)

This code provides useful (if you think 😀 ) insights into your opera mini version, build number, platform, companies involved in building the browser, acknowledgements etc.

4. server:setup

Now you can check whether you have a working internet connection or not using this opera mini secret code. Will be useful when you are configuring internet settings manually and you want to test them. You don’t always need to open a website to check your connection, have a try at this code.

5. opera:cache

This code will return the cached items of opera mini. Cached pages are those webpages which you frequently visit. These pages are saved in your browser to give you faster access to them. Along with the list of cached items, you will also get the size of each cached page and its URL.

7. debug:

This code returns all the technical details of your bowser. You can know about server status, cookies, your network operator, location, settings or preferences in the browser, user agent, IP address, feed details, version and much more.

8. tel:<phone number>

You can use this code to make call in opera mini without minimizing it. Perfect for those users carrying feature phones who always lack of multitasking.
Note: Before using this code you need to type in address bar wtai://wp/mc;<phone number> subsequent calls can be then made just by the tel: code.

9. server:reset and server:refresh

These two codes aren’t that important as you can do the operations performed by these codes directly through the available options in opera mini. But let me tell you these codes just to increase your knowledge base. Actually the first code i.e., server:reset deletes the cookies of your browser which you collect while browsing internet. The second one, server:refresh, reloads the webpage you are currently on.

10. odp:showuptodate

This code returns you to your homepage (or speed dial as the case may be). Also your homepage data gets refreshed with the latest sites you visited. Works in opera mini above version 4.x.

Other Useful Opera Mini Codes

The above codes are in general usage among people. But still there are many more hidden codes in opera mini that Opera Software ASA never reveals. Hoping of more codes in future but here are few more secret codes that you can try right now.

javascript: – Executes javascript
on page
feed:list – Shows a list of feeds you are subscribed to.

opera:fps – After trying the code, get rid of fps (frames per second) menu by restarting the browser

Also see:
server:version, debug:console, server:sv, debug:test

If you like this post and found it useful then don’t forget to share it with your friends. Subscribe to the free email alerts to get always updated with latest tips, tricks and tech news. Also if you have few more similar opera mini codes with you then you can always comment below and let us know. 🙂

Best Way to Read PDF on Java Phone (or any phone)

Read PDF on any Java Phone

If you have an android, an iphone or a computer with you, then its really very easy to read any pdf file or an ebook. You just need to install the related software or app, and you can straight forward view the pdf with just a click. Being a regular Java phone user, I found it quite difficult to read the pdf files and at times it was a great irritation to download a pdf containing what I was searching for. I found a java app named Mobile PDF Reader which can read pdf files but it too had a drawback. This app did not work with pdf files of large size. I began searching the internet expecting a solution to this problem but in vain. 🙁

After a lot of search, I came to know about online pdf readers. I was new to internet then and was quite suprised to know that pdf files can be read online. This was the solution I was looking for-a solution independent of phone platform. Now atlast I got the way to read pdf on java phone. What was next! I began searching for websites which make possible to read pdf without any software or app. I got list of few websites which I could count on my fingers. I tested all of them and found two of them as best fitting solutions. One of them I explain here and the other next time. 🙂

Samurajdata website view

How to View PDF Files in Java Mobiles (or Practically in Any Phone)

Using this website you can view any pdf file or a pdf ebook directly in your browser without any additional software. You will also be able to view the images in the pdf and also view the original pdf design without any deviation from its original one. Further it works in android, iphone, pc and not to leave the java phones. Isn’t it cool? Now let me tell you the name of the website. It’s Samurajdata. Just visit the below link to view your pdf.

[the_ad_placement id=”manual”]


You just need to upload the pdf file and click view. Also you can provide the url of your pdf file which means you can view pdf files without uploading it. The technique here applied is that this site actually converts your pdf pages to images (jpg format). There are also options to view postscript and word documents. You can view them right in your browser or can download them to read later offline. Just take a note of the url of the webpage containing images of all your pdf pages. You can visit that particular url anytime and read your pdf . You can also share the link with your friends. This webpage will be available for 3 days after it was last viewed. Here is an example where I viewed the PDF ebook titled Problogging for Newbies written by Jane Sheeba, a famous blogger.

samurajdata view pdf example

Now one important thing for opera mini, uc browser or any other mobile browser users. The features of this website are obvious to desktop users but for mobile users it may not be clear. While clicking on the image in desktop it zooms but in mobile phone it doesn’t. So it will be quite difficult to read your file. But don’t worry. Here’s a solution. If your using opera mini, place your cursor on the image and press 1. Now select the last option i.e., open image. You are done. Do it in uc browser in a similar way. Now sit back and enjoy your reading!

I wrote this post because I personally found it so useful. Now if you find it useful, why don’t you share it with your friends? Use your favourite social buttons below, your friends are waiting to here you. If you are facing any problem implementing this, let me know through your comments and be sure to get a quick reply. Excited to meet you all in your favourite social networking sites!  🙂

Make call in Opera Mini Without Closing it

Make call in opera mini without closing it. Sounds interesting! Friends as we all know Opera Mini is the most widely used mobile browser.It is because of its excellent user interface, high browsing speed and low data cost due to the compression of its pages. Many java phones and others too use it as their favourite mobile browser. But opera mini does not have a direct option to make a call from the phone while using the internet. This is not a problem to the phones which have a ‘minimizing application’ option. They can simply minimize the browser, make a call and then return to the browser. But what about those who do not have this minimizing option. And majority of them don’t have it!

It’s often very irritating to close the browser, make a call and then again open it. But there is a solution to solve this. Opera mini does not directly have the option to make a call. But still its there and hidden inside the browser. Many of you may have noticed it at times. Here is the trick to make a call without closing opera mini. It utilizes the hidden make a call option and Google calculator.
Make Call in Opera Mini Without Closing

Make Call in Opera Mini Without Minimizing it

[the_ad_placement id=”manual”]

Firstly open opera mini then go to Google search. Suppose you want to call to the number 812xxxxxx5.
Now just type 812xxxxxxx5+0= in Google search box and click the search button.
Now at the top of search results you will get something like:


Move your cursor over the number to want to make the call. Now your number will be highlighted. Just click it! Your call will be connected and you are ready to talk now.

To end the call press the ‘call end‘ button only once.

Alternately, you can also just type your required number in google search and click your number appearing in search results.

Another Trick to Make Call  in Opera Mini:

You can also try this code to make call to any number while on opera mini. Just type in the address bar wtai://wp/mc;<your number>. For example, if you want to call to 812xxxxxx5 type in address bar wtai://wp/mc;812xxxxxx5. Once you have typed this code, you need not type it again to make another call. Next time just type in address bar tel:<your number> like tel:812xxxxxx5. But if you have closed the browser then again you need to type the code for first call and the subsequent calls you can make by the tel: command.

Hope you all like and enjoy the trick. Don’t forget to share it with your friends on your favourite social media!