← Back to team overview

ubuntu-webapps-bugs team mailing list archive

[Bug 1352783] [NEW] Facebook app banner is back

 

Public bug reported:

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>

** Affects: webbrowser-app
     Importance: Medium
         Status: Triaged

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

Title:
  Facebook app banner is back

Status in Web Browser App:
  Triaged

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/webbrowser-app/+bug/1352783/+subscriptions


Follow ups

References