Opened on 06/12/2017 at 03:53:53 AM
Closed on 06/13/2017 at 12:32:54 PM
#5310 closed defect (invalid)
Multiple versions of the same page showing in the Back buttons
Reported by: | toml-in-pbi | Assignee: | |
---|---|---|---|
Priority: | Unknown | Milestone: | |
Module: | Unknown | Keywords: | |
Cc: | trev | Blocked By: | |
Blocking: | Platform: | Firefox | |
Ready: | no | Confidential: | no |
Tester: | Unknown | Verified working: | no |
Review URL(s): |
Description
Environment
Windows 10 Pro 1607
Firefox 53.0.3 64 bit
Adblock Plus 2.9.1
Easylist and Adblock Warning Removal List
How to reproduce
- http://www.theblaze.com/news/2017/06/11/more-footage-released-of-cnn-allegedly-staging-pro-muslim-protest-and-its-incredibly-damming/
- (IMPORTANT) Wait 2 or 3 minutes for the page to COMPLETELY LOAD ALL LINKS
- Watch the NEWS video while on this page.
- Click and hold the (Firefox browser) back button
Observed behaviour
You will observe Multiple Versions of the SAME page in the Back Button.
- After DISABLING Adblock Plus, the problem goes away.
Expected behaviour
During Step number 2, you should ONLY see ONE copy of the page link in history (instead of multiple-sometimes 6 or 7 pages are erroneously shown.)
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
I could trace this behavior to http://launch.newsinc.com/185/js/models/Ndn/Widget.js script in that webpage, it has the following function:
Note the o.open(), o.write(i), o.close() part - it will replace the contents of a frame in that page. As a side-effect, this will also generate a new history entry, if you go back the contents of this ad frame will be restored. Aren't you happy about that? :-)
You can contact the website owner and point out that in year 2017 they are no longer restricted to page manipulation methods that were available in 1995. But there is little else I can help you with, I'm not going to spend time on figuring out why that website's code took a different turn with ads blocked.