This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 971
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prevent twitter -> mobile.twitter.com noscript redirect
fix #2884 Auditors: @jonathansampson Test Plan: turn on block scripts, go to twitter.com, verify that it doesn't redirect to mobile
- Loading branch information
1 parent
5166964
commit 41acbd0
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41acbd0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@diracdeltas I am not able to confirm that this resolves the issue, as I understand it.
Scenario: User navigates to http://www.twitter.com, and then expands the Bravery Settings Panel and turns on Block Scripts. The frame reloads, and the user is then redirected to http://mobile.twitter.com via a
<noscript>
element.The above scenario still plays through.
41acbd0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@diracdeltas @jonathansampson Checked on 0.12.3dev-RC1 and this is the current behavior. If I enable block-script globally and then open twitter.com it doesn't redirect to mobile.twitter.com..But if I open twitter.com and then enable block-script at page level then it redirects to mobile.twitter.com