ksucpea/bettercanvas

js issue for specifically my school's canvas

Closed this issue · 13 comments

Hi, coding noob here. My school's version of canvas doesn't have canvas actually written in the domain (webcourses.ucf.edu) so the function that checks to see if the page displayed is a canvas page doesn't work for me. I manually forked, downloded, changed, verified, and installed a modified version of this with just that field changed and it works fine now.

Also the column that has the home, modules, etc. tabs is still blaringly white for me, I think ic-Layout-columns needs to be included somewhere but, as meantioned, I'm new to this and couldn't get it to work.

Did you try putting in a custom url into the menu before changing the code? Also could you leave a screenshot of the inspect element for the white portion, mine doesn't show as white so I can't find it, thanks.

yep, tried chainging the custom url but either I'm just dumb or it didn't work for me.
image

Ok cool I'll see if I can fix that white element. What url are you using for the custom url? I think everyone who has had an issue with it had a trailing slash at the end which was causing the error. If that's not your problem, try typing https:// into the custom url and let me know if that still doesn't work

ah yup, trailing slash did it lol. White element still there on the non-altered version. Thanks, this is a great lil plugin and it was fun to poke through the code.

Great, I will add the white element fix in the next update and we'll see if it works for you

Update was published today, can you let me know if it fixed this?

I'm facing a similar issue, although it might be due to my language setting. Dark mode is completely broken and I don't see any of the other features working.

[Edit] Language is not the issue.

image

Card view seems to have fixed the issue not showing. This is great!

I don't mind the dark mode too much. I can inspect element whatever you want but I'm not sure which white part to select :P

I can send you a downloaded version of my page if you'd like, but I'd like it to be kept private for privacy concerns.

I'd rather send the HTML, I just finished a project involving heavy JS / inspect elementing and do not want to use it any more. Let me know a good way to contact you. You can email me at github [AT] pablito.tech

Alright, you can email me ksucpea@gmail.com