A simple browser extension to improve the display of PDF files in the UCL Moodle system.
- Automatically extracts actual filenames from UCL Moodle PDF links
- Changes browser tab titles to show actual PDF filenames
- Supports all PDF files in the UCL Moodle system
-
First, install the Tampermonkey browser extension
-
Click on the Tampermonkey icon and select "Create a new script"
-
Delete all content in the editor and paste the script code
-
Press Ctrl+S (Windows) or Command+S (Mac) to save the script
Once installed, when you visit a PDF file in UCL Moodle, the browser tab will automatically display the actual PDF filename instead of the complex URL.
Supports URLs in the following format:https://ucl-eu-west-2-moodle-sitedata.s3.eu-west-2.amazonaws.com/... can change by yourself