
Go Display It, Canvas! por Bernico
Allows UCSD Canvas to display .go file correctly in a nice syntax highlight.
Irá necessitar do Firefox para utilizar esta extensão
Metadados da extensão
Capturas de ecrã

Acerca desta extensão
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).
Avalie a sua experiência
PermissõesSaber mais
Este extra precisa de:
- Aceder aos seus dados para sites no domínio canvas.ucsd.edu
- Aceder aos seus dados para sites no domínio inscloudgate.net
- Aceder aos seus dados para sites no domínio canvas-user-content.com
- Aceder aos seus dados para ucsd.instructure.com
Mais informação
- Ligações do extra
- Versão
- 1.0
- Tamanho
- 31,16 KB
- Última atualização
- há 6 dias (27 de mai de 2025)
- Categorias relacionadas
- Licença
- MIT License
- Histórico de versões
- Etiquetas
Adicionar à coleção
Mais extensões por Bernico
- Não existem avaliações ainda
- Não existem avaliações ainda
- Não existem avaliações ainda
- Não existem avaliações ainda
- Não existem avaliações ainda
- Não existem avaliações ainda