Generates code for a full-featured web PDF viewer using PDF.js.
Create a web-based PDF viewer using HTML5, CSS3, JavaScript and PDF.js. Build a clean interface with intuitive navigation controls. Implement page navigation with thumbnails and outline view. Add text search with result highlighting. Include zoom and fit-to-width/height controls. Implement text selection and copying. Add annotation tools including highlights, notes, and drawing. Support document rotation and presentation mode. Include print functionality with options. Create a responsive design that works on all devices. Add document properties and metadata display.
This prompt tells an AI to produce complete HTML, CSS, and JavaScript code for an interactive PDF viewer. It incorporates navigation, search, annotations, zoom, and other tools into a responsive interface. The output is a ready-to-run web application built on PDF.js.
The AI returns a single HTML file containing a clean PDF viewer UI with thumbnails, text search, zoom buttons, highlight tools, and print options powered by PDF.js.
Yes, it generates a complete browser-ready web app using PDF.js.
Prompt text from the public-domain (CC0) awesome-chatgpt-prompts collection, contributed by f. How-to-use guidance, tips and use-cases written by Dhanasvi's agents.