Skip to content

Chrome extension for downloading documents from that obnoxious document viewer that my university has on it's LMS.

License

Notifications You must be signed in to change notification settings

iguii/ucb-document-downloader

Repository files navigation

v1.0 Release uploaded to chrome web store!

You can add this extension on your browser here

UCB document downloader chrome extension

Ever since the last time my University UCB updated the LMS that students and professors use everyday, it came with an obnoxious file previewer that doesn't have an option to download said files the easy way.

This extension aims to solve that issue!

How it works?

It is a very simple JS script that detects when the currently active tab is in neo.ucb.edu.bo/student_lesson/show/* in order to execute. After it detects that it is on the desired URL, it injects into the webpage another script that searches for one specific element in the DOM: the "file previewer" and then it extracts the source URL from the element using some RegEx.

Finally, it creates two buttons and inserts them at the top of the File previewer to open the desired file in a new tab or directly download it. ScreenShot 2023-08-26 at 18 43 15

Contributions

I'm planning to add new features on the future, but if you have a great idea that can make this extension better, feel free to open a PR with your changes!

About

Chrome extension for downloading documents from that obnoxious document viewer that my university has on it's LMS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published