Fixes pdf application switching in FF22/23 (redo)

https://bugzilla.mozilla.org/show_bug.cgi?id=855666