Skip to content

www.icicibank.com - Missing “Add to Home Screen” button #25927

Closed

Description

URL: https://www.icicibank.com/mobile-banking/index.page?

Browser / Version: Firefox Nightly 67.0a1 (2019-02-11)
Operating System: Samsung Galaxy S7 Edge (Android 8.0.0) - Resolution 1440 x 2560 pixels (~534 ppi pixel density)
Tested Another Browser: Yes

Problem type: Something else
Description: Missing “Add to Home Screen” button
Steps to Reproduce:
1. Navigate to https://www.icicibank.com/mobile-banking/index.page?
2. Observe top menu bar.

Expected Behavior:
“Add to Home Screen” button is available.

Actual Behavior:
“Add to Home Screen” button is not available.

Note
1. Not reproducible on Chrome 72.0.3626.96.
2. Screenshot attached.
Affected area:

<div class="middleContainer updated-header clearfix">
<!--cut out-->
	<a href="/" target="_self" class="mobile-only mobLogoLink">
		<div style="position:absolute;width:150px;height:45px;margin-left:68px">&nbsp;</div>
	</a>
	<div ajax="/ajax/ajax-direct-link-suggestions.page?" class="SearcContainer mobilesearch-container">
		<form action="/search/search-results.page?" method="post">
			<input value="Personal" name="segment" type="hidden">
			<input id="Search" name="token" type="text" class="ui-autocomplete-input" autocomplete="off">
			<input value="Search" class="MagnifyingGlass" type="submit">
		</form>
	</div>
</div>

Chrome element:

<div id="blink" style="visibility: visible;">
	<a class="addHomeScreenBtn" style="display: block;" onclick="dataLayer.push({'event':'GAevent', 'gaEventCategory':'icici-mobile-header-addtohomescreen-click', 'gaEventAction':'addtohomescreen-btn-click', 'gaEventLabel':'add-to-home-screen'});changeTitle();" href="javascript:void(0)">
		<img src="/assets/img/mobile-1.png" alt="">
	</a>
</div>

Watchers:
@softvision-oana-arbuzov
@softvision-sergiulogigan
@cipriansv

sv;
Screenshot Description

Browser Configuration
  • None

From webcompat.com with ❤️

Activity

  1. added this to the needstriage milestone on Feb 12, 2019
  2. added
    severity-important
    and removed on Feb 12, 2019
  3. changed the title [-]www.icicibank.com - see bug description[/-] [+]www.icicibank.com - Missing “Add to Home Screen” button[/+] on Feb 12, 2019
  4. karlcow commented on Feb 15, 2019

    @karlcow
    Member

    Not that much to say :)

      if (/Android/i.test(navigator.userAgent) && /chrome/i.test(navigator.userAgent) && $(document).width() < 980 && $('.addHomeScreenBtn').length > 0) {
        $('a.addHomeScreenBtn').css('display', 'block');
        $('a.addHomeScreenBtn').click(function () {
          $('.addHomeScreen').addClass('active');
          $('.addHomeScreen').css('display', 'none');
          $('.addHomeScreen').css('display', 'block');
          $('.addHomeScreen  #modal-content').addClass('active');
          $('.addHomeScreen #modal-background').addClass('active')
        })
      }

    The secondary question is more do they have a reason to do this?

    note also that the add to home screen button is just a page explaining how to add the home screen button depending on the design of the chrome of the browser. So maybe it's logical.

    capture d ecran 2019-02-15 a 12 05 06

    Firefox Nightly has the menu at the same place though. So let's move this to needscontact.

  5. added
    severity-minor
    type-uaoverride
    type-js
    and removed
    severity-important
    on Feb 15, 2019
  6. added
    engine-gecko
    on Apr 30, 2019
  7. karlcow commented on Oct 8, 2019

    @karlcow
    Member

    The add to home screen doesn't seem available on both chrome and firefox

  8. modified the milestones: needscontact, invalid on Oct 8, 2019
  9. lock commented on Oct 15, 2019

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue at https://webcompat.com/issues/new if you are experiencing a similar problem.

  10. locked as resolved and limited conversation to collaborators on Oct 15, 2019
  11. added
    q4-2019-outreach
    and removed
    q4-2019-outreach
    on Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    browser-firefox-mobileengine-geckopriority-importantseverity-minortype-jstype-uaoverride

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions