
Go Display It, Canvas! Autor: Bernico
Allows UCSD Canvas to display .go file correctly in a nice syntax highlight.
Na použitie tohto rozšírenia budete potrebovať Firefox
Metadáta rozšírenia
Snímky obrazovky

O tomto rozšírení
Say goodbye to "This document cannot be displayed within Canvas." or downloading .go file to local! This extension automatically fetches the .go file in
Disclaimer:
- Currently, this extension uses pattern matching that’s rigid that might change. As such, it might have to be updated whenever Canvas uses a newer server DNS that points to the true location of the file.
- This extension is developed and tested to work for UCSD Canvas. Although the script will work for any other education institution’s Canvas, I can’t guarantee it since there’s no way for me to test it and know their Canvas page’s links. Furthermore, currently, the manifest.json of this extension specifically has UCSD Canvas's links in its regex for permissions and scripts matching, and as such it won't work for any other institution. In the future, I might add support for other institutions too.
- Similarly, this extension currently only supports displaying .go files. This is because PrismJS requires specification of file type for it to highlight correctly. And since Canvas itself doesn't recognize the file's type, it requires extensive pattern matching that I haven't had the time to support. However, in the future, I might add support for other languages, even those displayable by Canvas (since they turn files like .java to .pdf before displaying it).
canvas.ucsd.edu/courses/*/files/*
and display it for you with PrismJS syntax highlighting. Disclaimer:
- Currently, this extension uses pattern matching that’s rigid that might change. As such, it might have to be updated whenever Canvas uses a newer server DNS that points to the true location of the file.
- This extension is developed and tested to work for UCSD Canvas. Although the script will work for any other education institution’s Canvas, I can’t guarantee it since there’s no way for me to test it and know their Canvas page’s links. Furthermore, currently, the manifest.json of this extension specifically has UCSD Canvas's links in its regex for permissions and scripts matching, and as such it won't work for any other institution. In the future, I might add support for other institutions too.
- Similarly, this extension currently only supports displaying .go files. This is because PrismJS requires specification of file type for it to highlight correctly. And since Canvas itself doesn't recognize the file's type, it requires extensive pattern matching that I haven't had the time to support. However, in the future, I might add support for other languages, even those displayable by Canvas (since they turn files like .java to .pdf before displaying it).
Ohodnoťte svoju skúsenosť
PovoleniaĎalšie informácie
Tento doplnok potrebuje:
- Pristupovať k vašim údajom webových stránok na doméne canvas.ucsd.edu
- Pristupovať k vašim údajom webových stránok na doméne inscloudgate.net
- Pristupovať k vašim údajom webových stránok na doméne canvas-user-content.com
- Pristupovať k údajom pre ucsd.instructure.com
Ďalšie informácie
- Odkazy doplnku
- Verzia
- 1.0
- Veľkosť
- 31,16 kB
- Posledná aktualizácia
- pred 6 dňami (27. máj 2025)
- Príbuzné kategórie
- Licencia
- Licencia MIT
- História verzií
- Značky
Pridať do kolekcie
Ďalšie rozšírenia od autora Bernico
- Doplnok zatiaľ nie je ohodnotený
- Doplnok zatiaľ nie je ohodnotený
- Doplnok zatiaľ nie je ohodnotený
- Doplnok zatiaľ nie je ohodnotený
- Doplnok zatiaľ nie je ohodnotený
- Doplnok zatiaľ nie je ohodnotený