mozilla/pdf.js — pull request #5496 by mainseq (2014-11-20 19:39:01+00:00)
Title: Ability to Highlight Multiple Search Terms #5220

If PDF document was part of a document search would like the ability to highlight terms and/or phrases that were part of the search. Currently there is no way to do this.

Change allows search terms to be passed in via URL parameter (wl = wordlist). The terms will all be highlighted in the highlighting class. All instances of all terms will be highlighted.

Also allows terms to be sent in via parent URL if using iframes and multiple pdf viewers on same search result.