Twitter added a native app prompt on its sign in page

Bug #1352789 reported by Olivier Tilloy
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Undecided
Unassigned
webbrowser-app
Fix Released
Medium
Jean-Francois Moy
webbrowser-app (Ubuntu)
Fix Released
Undecided
Unassigned
webbrowser-app (Ubuntu RTM)
Fix Released
Undecided
Unassigned

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>

Related branches

Olivier Tilloy (osomon)
summary: - Twitter added a native app prompt on its homepage
+ Twitter added a native app prompt on its sign in page
Revision history for this message
Olivier Tilloy (osomon) wrote :

Related to bug #1378008 (and should probably be tackled together).

Changed in webbrowser-app:
assignee: nobody → Jean-Francois Moy (jfmoy)
Changed in webbrowser-app:
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package webbrowser-app - 0.23+15.04.20141029.1-0ubuntu1

---------------
webbrowser-app (0.23+15.04.20141029.1-0ubuntu1) vivid; urgency=low

  [ CI bot ]
  * Resync trunk
  * Fix the override mechanism for navigator.userAgent, and add UA
    override rules for HSBC’s Brazilian mobile site and ESPN’s mobile
    site. (LP: #1316259)

  [ Riccardo Padovani ]
  * Fixed #1378975 - Fast double click on menu button opens menu twice
    (LP: #1378975)
  * Updated the README

  [ Jean-Francois Moy ]
  * Twitter User Script - Hide the prompt to download the Android
    application. (LP: #1352789)

  [ Ubuntu daily release ]
  * New rebuild forced

  [ Olivier Tilloy ]
  * Prevent the browser from trying to download embedded flash
    applications. (LP: #1379806)
  * Fix a harmless compilation warning found by clang (non-literal-null-
    conversion).
  * Update UITK autopilot test imports. (LP: #1386276)

webbrowser-app (0.23+14.10.20141028~rtm-0ubuntu1) 14.09; urgency=low

  [ CI bot ]
  * Resync trunk

  [ Ubuntu daily release ]
  * New rebuild forced

  [ Olivier Tilloy ]
  * Fix the override mechanism for navigator.userAgent, and add UA
    override rules for HSBC’s Brazilian mobile site and ESPN’s mobile
    site. (LP: #1316259)

webbrowser-app (0.23+14.10.20141015.1-0ubuntu1) 14.09; urgency=low

  [ Michael Sheldon ]
  * Detect 7 digital album downloads and request that they get unzipped
    by download manager. (LP: #1365993)

  [ Ubuntu daily release ]
  * New rebuild forced
 -- Ubuntu daily release <email address hidden> Wed, 29 Oct 2014 12:00:23 +0000

Changed in webbrowser-app (Ubuntu):
status: New → Fix Released
Olivier Tilloy (osomon)
Changed in webbrowser-app:
status: In Progress → Fix Released
Olivier Tilloy (osomon)
Changed in webbrowser-app (Ubuntu RTM):
status: New → Confirmed
Changed in canonical-devices-system-image:
milestone: none → ww05-2015
status: New → Fix Released
Olivier Tilloy (osomon)
Changed in webbrowser-app (Ubuntu RTM):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.