Canvas Confetti

Brighten up your canvas experience with more confetti on your assignments!

  1. // ==UserScript==
  2. // @name Canvas Confetti
  3. // @namespace http://github.com/Pixeled99/CanvasConfetti
  4. // @version 2024-08-28
  5. // @description Brighten up your canvas experience with more confetti on your assignments!
  6. // @author Pixeled99
  7. // @match https://*.instructure.com/courses/*/assignments/*
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=instructure.com
  9. // @license MIT
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15. var url = window.location.href;
  16. if (!url.includes("confetti=true")) {
  17. if (url.includes("?")){
  18. location.replace(url + "&confetti=true")
  19. }
  20. else {
  21. location.replace(url + "?confetti=true")
  22. }
  23. }
  24. })();