Amazon userscript isCorrectPage() method is too selective
Bug #1058241 reported by
Robert Carr
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
WebApps: Applications Data |
Fix Released
|
Undecided
|
Robert Carr |
Bug Description
Amazon userscript isCorrectPage() method is too selective.
In particular it will sometimes return false on international Amazon domains (Though I have also been served versions of Amazon.co.uk that worked! ><).
Related branches
lp:~robertcarr/webapps-applications/fix-amazoncouk
- Alexandre Abreu (community): Approve
- jenkins (community): Needs Fixing (continuous-integration)
-
Diff: 104 lines (+23/-51)2 files modifieddefault-apps/Amazon/Amazon.user.js (+11/-26)
src/Amazon/Amazon.user.js (+12/-25)
Changed in webapps-applications: | |
status: | In Progress → Fix Committed |
Changed in webapps-applications: | |
status: | Fix Committed → Fix Released |
no longer affects: | webapps-applications (Ubuntu Raring) |
To post a comment you must log in.
It's safe to remove isCorrectPage()
The userscript glob (http:// amazon. */*) may load on unwanted sites (i.e. http:// amazon. hacker. it/adobe- acrobat). However the list of domain parameters to Unity.init + cross domain check in unity-firefox- extension will prevent Unity.init method from succeeding.