
Web Store is quite an interesting place to advertise your product. If you do everything right and something to interest the user - you will receive a huge number of new users who will see the icon of your site constantly and be able to get to it with one click.
But it will be about something else. Suppose you find that a very popular site or game does not have an application in the Web Store. When I discovered the absence of the VKontakte web application, I was very surprised and at first could not understand why no one had made the application a bookmark.
The solution was simple - Google does not allow you to open the site through a web application, if you do not own it (Confirmation via Google Webmaster)
')
When downloading an application, Google checks the manifest.json file - which contains the main information and if there is a link to the site that opens, it checks through the internal API if you own the application.
Suppose we have such an application (Here is the finished application -
VKontakte Chat ):
{
"name": " ",
"description": " .",
"version": "1.0",
"icons": {
"128": "logo.png",
"16": "logo.png"
},
"app": {
"launch": {
"web_url": "http://vkontakte.ru/im.php?act=a_box&popup=1"
}
}
}
Be sure not to forget about the icons - 16x16 and 128x128. I used the same file for both permissions - it's easier.
After downloading the finished application, we see this warning and Google does not allow us to publish it:

But why shouldn't we just open a local file with an “i-frame” for the entire width of the page. After all, Google does not check local files!
Now just taking a few steps, we get a working application:
- 1. Create a local file (for example: body.html) and save it to the folder with the application in UTF-8. File code: http://pastebin.com/3rQmjZgP
- 2. Further, in “manifest.json” it is necessary to change “web_url” to “local_path” and accordingly further enter the name of the file with the code.
- 3. Save and load them in the Web Store!
That's all. So you can easily bypass the restriction that Google has installed in the Web Store.
I hope that Google will pay attention to this, and quickly learn to scan and internal files, and developers will be smarter and smarter to circumvent these restrictions.
UPD1: Pros of creating such applications for popular sites: you can insert contextual advertising or banner inside or outside the IFrame.
Thank you for your attention and sorry for spelling errors.