Canvas Refined
+Canvas Refined
+
+
+
Max items to show:
diff --git a/js/content.js b/js/content.js
index 7ec9907..f5cc428 100644
--- a/js/content.js
+++ b/js/content.js
@@ -2120,6 +2120,8 @@ function populateAnnouncements() {
function createConfettiBurst(targetElement, opts = {}) {
try {
+ if (options.todo_confetti === false) return;
+
const count = opts.count || 48;
const colors = opts.colors || ['#ff4d4f', '#ffc107', '#28a745', '#17a2b8', '#6f42c1', '#ff6b6b', '#ff8a65', '#ffd54f'];
const rect = targetElement.getBoundingClientRect();
diff --git a/js/popup.js b/js/popup.js
index fcfea73..d95bbae 100644
--- a/js/popup.js
+++ b/js/popup.js
@@ -2,6 +2,7 @@ const syncedSwitches = ['remind', 'tab_icons', 'hide_feedback', 'dark_mode', 're
const syncedSubOptions = [
"todo_hide_feedback",
"todo_full_height",
+ "todo_confetti",
"device_dark",
"relative_dues",
"card_overdues",
@@ -113,6 +114,7 @@ const defaultOptions = {
"todo_hide_feedback": false,
"todo_full_height": false,
"todo_progress_rings": true,
+ "todo_confetti": true,
"device_dark": false,
"cumulative_gpa": { "name": "Cumulative GPA", "hidden": false, "weight": "dnc", "credits": 999, "gr": 3.21 },
// "show_updates": false,
@@ -305,6 +307,7 @@ function setup() {
// /*'card_method_date',*/ "show_updates",
"todo_hide_feedback",
"todo_progress_rings",
+ "todo_confetti",
"todo_full_height",
"device_dark",
"relative_dues",
diff --git a/manifest.json b/manifest.json
index 2df7822..5c47a54 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,6 +1,6 @@
{
"manifest_version": 3,
- "name": "Canvas Refined",
+ "name": "CanvasRefined",
"description": "Even More Feature packed extension for Canvas.",
"version": "5.12.6",
"icons": {