Reputation: 7063
I've to display 3D PDF in browser and few browsers doesn't support 3D PDF like Chrome, Firefox, Mobile browser.
How can we detect / update the default PDF viewer plugin in Chrome & Firefox through code?
Can detect Adobe Reader plugins for all the browser as well using this code.
My query is I want to disable the default PDF viewer plugin and enable Adobe Reader plugin through code [javascript]. Is there any possible solution for this?
Upvotes: 1
Views: 29019
Reputation: 139
Since Google has disabled the NPAPI support, therefore, Adobe reader cannot be configured to view PDF file within Chrome and many other modern browsers. See link below:
Upvotes: 0
Reputation: 7063
I've got work around to display 3D PDF in Chrome but disabling the default PDF Viewer plugins and enabling the Adobe Reader plugins from chrome://plugins/ in chrome browser.
Chrome Plugins Settings:
Firefox Plugins Settings:
But still looking for this settings to be updated from code.
Upvotes: 1