← Back to team overview

touch-packages team mailing list archive

[Bug 1352783] Re: Facebook app banner is back

 

** Changed in: canonical-devices-system-image
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1352783

Title:
  Facebook app banner is back

Status in Canonical System Image:
  Fix Committed
Status in webbrowser-app package in Ubuntu:
  In Progress

Bug description:
  The Ubuntu WebView component comes preloaded with a user script that
  removes the app banner that facebook displays on its login page to
  advertise its native android application (see
  http://bazaar.launchpad.net/~phablet-team/webbrowser-
  app/trunk/view/head:/src/Ubuntu/Web/fb-no-appbanner.js).

  Facebook changed recently their login page layout, and the script
  stopped working. The banner used to be enclosed in a div with class
  "appBanner", which made it easy to detect and suppress. It no longer
  has this class, here is what the code looks like now:

    <div class="_4fmw grouped aclb">
      <a class="touchableArea first last area touchable acy apl abt abb" href="https://m.facebook.com/click.php?redir_url=market%3A%2F%2Fdetails%3Fid%3Dcom.facebook.katana&amp;app_id=350685531728&amp;cref=mb&amp;no_fw=1&amp;refid=8"; target="_top" data-sigil="touchable marea">
        <div class="ib">
          <i class="l img sp_L9H7wTVnopj sx_a37e0f"></i>
          <div class="c">
            <span class="fcl">Get Facebook for Android and browse faster.</span>
          </div>
        </div>
      </a>
    </div>

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1352783/+subscriptions