This commit is contained in:
Cynthia Foxwell 2018-06-21 11:55:12 -06:00
parent 9070d97d6d
commit d99fb2e746
2 changed files with 32 additions and 31 deletions

View file

@ -1,3 +1,10 @@
exports = {
manifest: {
author: "Cynosphere",
name: "Character Counter",
description: "Counts characters in the chatbox."
},
start: function(){
function setupCharCount() { function setupCharCount() {
if (document.body.contains(charcount)) return; if (document.body.contains(charcount)) return;
if (!text || !document.body.contains(text)) { if (!text || !document.body.contains(text)) {
@ -20,13 +27,6 @@ charcount.style["font-size"] = "85%";
let text = null; let text = null;
exports = {
manifest: {
author: "Cynosphere",
name: "Character Counter",
description: "Counts characters in the chatbox."
},
start: function(){
let charcount_mo = new MutationObserver(setupCharCount); let charcount_mo = new MutationObserver(setupCharCount);
charcount_mo.observe(document.querySelector(".app.flex-vertical"), { charcount_mo.observe(document.querySelector(".app.flex-vertical"), {
childList: true, childList: true,

View file

@ -1,10 +1,11 @@
exports = { exports = {
manifest: { manifest: {
author: "Cynosphere", author: "Cynosphere, Murm",
name: "Spotify Premium Spoof", name: "Spotify Premium Spoof",
description: "Spoofs premium check and allows listen along without premium.", description: "Spoofs premium check and allows listen along without premium.",
replacements: [ replacements: [
{signature:'r.isPremium=n',payload:'r.isPremium=true'} {signature:'r.isPremium=n',payload:'r.isPremium=true'},
{signature:'isPremium:"premium"===t.body.product',payload:'isPremium:true'}
] ]
} }
} }