Remember the page you started a search

Sometimes after you finish an elaborate search you might want to get back to the page you started the search. But how to get there?

As usual a script can help.

This script remembers the page and - if possible - the selected page item and saves the information in the document. A command in the edit menu will bring you back to that page and - if available - the same zoomlevel. I twill not select the previously selected text since I expect it to have changed in the meantime.

You will not notice its there but for that menu command.