Skip to content

Book mark bubble is shows after it add to the home screen #28

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Book mark add to the home screen and type the address then go to site.
2.
3.

What is the expected output? What do you see instead?
bubble should not show after it add to the home screen.

What version of the product are you using? On what operating system?
ipad 1 and iphone 4 on simulator 

Please provide any additional information below.
I add the following code to the template 

<script type="text/javascript">
              window.addEventListener(\'load\', function() {
                window.setTimeout(function() {
                var bubble = new google.bookmarkbubble.Bubble();
                var parameter = \'bmb=1\';
                bubble.hasHashParameter = function() {
                    return window.location.hash.indexOf(parameter) != -1;
                };
                bubble.setHashParameter = function() {
                    if (!this.hasHashParameter()) {
                        window.location.hash += parameter;
                    }
                };
                bubble.showIfAllowed();
                }, 1000);
            }, false);
            </script> 

Original issue reported on code.google.com by yasithmi...@gmail.com on 11 Dec 2012 at 9:43

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions