← Back to team overview

touch-packages team mailing list archive

[Bug 1352789] Re: Twitter added a native app prompt on its sign in page

 

** Also affects: webbrowser-app (Ubuntu RTM)
   Importance: Undecided
       Status: New

** Changed in: webbrowser-app (Ubuntu RTM)
       Status: New => Confirmed

** Also affects: canonical-devices-system-image
   Importance: Undecided
       Status: New

-- 
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/1352789

Title:
  Twitter added a native app prompt on its sign in page

Status in the base for Ubuntu mobile products:
  New
Status in Web Browser App:
  Fix Released
Status in webbrowser-app package in Ubuntu:
  Fix Released
Status in webbrowser-app package in Ubuntu RTM:
  Confirmed

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

  Twitter changed recently their login page layout, and they added an
  extra banner that advertises their native android application, so the
  user script should be updated to also remove that one. Here is what
  the HTML code looks like:

    <div class="signup-step">
      <div class="client-prompt">
        <form action="/settings/dismiss" method="post">
          <span class="m2-auth-token">
            <input name="authenticity_token" type="hidden" value="…">
          </span>
          <input type="hidden" name="d" value="1">
          <input type="hidden" name="return_url" value="/session/new">
          <table>
            <tbody>
              <tr>
                <td class="left">
                  <strong>New !</strong>
                  <a href="https://play.google.com/store/apps/details?id=com.twitter.android";>Download</a>
                  the Twitter for Android app
                </td>
                <td class="close">
                  <input type="submit" id="promo_close" title="Close" value="x">
                </td> 
              </tr>
            </tbody>
          </table>
        </form>
      </div>
    </div>

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