
Go Display It, Canvas! 作者: Bernico
Allows UCSD Canvas to display .go file correctly in a nice syntax highlight.
您需要 Firefox 来使用此扩展
扩展元数据
屏幕截图

关于此扩展
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).
为您的体验打分
权限详细了解
此附加组件需要:
- 访问您在 canvas.ucsd.edu 域名的数据
- 访问您在 inscloudgate.net 域名的数据
- 访问您在 canvas-user-content.com 域名的数据
- 访问您在 ucsd.instructure.com 的数据
更多信息
添加到收藏集
Bernico 制作的更多扩展
- 目前尚无评分
- 目前尚无评分
- 目前尚无评分
- 目前尚无评分
- 目前尚无评分
- 目前尚无评分