paulsmith87 / mobile-bookmark-bubble

Automatically exported from code.google.com/p/mobile-bookmark-bubble
Apache License 2.0
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
bookmark

Original comment by nawazsaj...@gmail.com on 25 Mar 2013 at 8:09