If you can sign into webassign by opening a canvas assignment and clicking a button like this:
then this userscript will make that button open in the same tab instead of in a new window.
How to use:
- Install tampermonkey
- Click on it's icon > Create New Script
- Paste contents of
userscript.js
- Change the
@match
line of the script to start with your canvas instance's URL