Stay productive or get distracted!
+ + + + +diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..8c2a2d7bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +walk.py \ No newline at end of file diff --git a/pinne-cheyyam/background.js b/pinne-cheyyam/background.js new file mode 100644 index 000000000..8148cbe0d --- /dev/null +++ b/pinne-cheyyam/background.js @@ -0,0 +1,3 @@ +chrome.runtime.onInstalled.addListener(() => { + console.log('Useless Projects Extension installed.'); +}); \ No newline at end of file diff --git a/pinne-cheyyam/content.js b/pinne-cheyyam/content.js new file mode 100644 index 000000000..d0d753ada --- /dev/null +++ b/pinne-cheyyam/content.js @@ -0,0 +1,70 @@ +function createOverlay() { + // Check if the overlay already exists + if (document.getElementById("productive-overlay")) return; + + // Create the overlay div + const overlay = document.createElement("div"); + overlay.id = "productive-overlay"; + overlay.style.position = "fixed"; + overlay.style.top = "0"; + overlay.style.left = "0"; + overlay.style.width = "100%"; + overlay.style.height = "100%"; + overlay.style.backgroundColor = "rgba(0, 0, 0, 0.8)"; + overlay.style.zIndex = "10000"; + overlay.style.display = "flex"; + overlay.style.justifyContent = "center"; + overlay.style.alignItems = "center"; + overlay.style.color = "white"; + overlay.style.fontSize = "24px"; + overlay.style.textAlign = "center"; + + // Message content + overlay.innerHTML = ` +
You are on a productive site! Take a break?
+ +Stay productive or get distracted!
+ + + + +h?l[c][f]=a+1:n.charAt(c-1)===i.charAt(f-1)?l[c][f]=l[c-1][f-1]:l[c][f]=Math.min(l[c-1][f-1]+1,Math.min(l[c][f-1]+1,l[c-1][f]+1)),l[c][f]