First and foremost, links containing JavaScript are real annotations.

Whether it is possible to convert depends a lot on the JavaScripts you attempt to convert. With very simple things like pageNum = x you may be able to find a replacement, but you will quickly run out of options, because the number of Actions available is rather limited. 

But already a simple construct like setting the value of a document level variable (set in a document-level script):

var cameFrom ;


in the link or button you use to jump to another page

camefrom = this.pageNum ;


and have a button/link to jump back to where you came from

this.pageNum = camefrom ;


will be essentially impossible to solve programmatically.

You will also have to make many assumptions, which may work for your specific files.

Convert javascript links in PDF to real annotations
I installed Ubuntu 12.04 a month ago and am using it till now. I failed to notice that all this time there was no sound at all while running Ubuntu, even while playing a game in Wine. The weird thing is that only the startup sound comes when I log in (Indian/African drum tone), then comes the utter silence.

I tested both Digital Output (S/PDIF) and the speakers in the sound settings but can hear nothing.

Any help?
