stuff
This commit is contained in:
parent
baa77a7c97
commit
12e4d22f29
|
@ -3,13 +3,17 @@
|
||||||
class PluginRepo {
|
class PluginRepo {
|
||||||
getName () {return "PluginRepo";}
|
getName () {return "PluginRepo";}
|
||||||
|
|
||||||
getVersion () {return "1.7.3";}
|
getVersion () {return "1.7.4";}
|
||||||
|
|
||||||
getAuthor () {return "DevilBro";}
|
getAuthor () {return "DevilBro";}
|
||||||
|
|
||||||
getDescription () {return "Allows you to look at all plugins from the plugin repo and download them on the fly. Repo button is in the plugins settings.";}
|
getDescription () {return "Allows you to look at all plugins from the plugin repo and download them on the fly. Repo button is in the plugins settings.";}
|
||||||
|
|
||||||
initConstructor () {
|
initConstructor () {
|
||||||
|
this.changelog = {
|
||||||
|
"fixed":[["BDContextMenu","Fixed compatibility with the newest version of BDContextMenu"]]
|
||||||
|
};
|
||||||
|
|
||||||
this.patchModules = {
|
this.patchModules = {
|
||||||
"V2C_List":"componentDidMount"
|
"V2C_List":"componentDidMount"
|
||||||
};
|
};
|
||||||
|
@ -318,8 +322,7 @@ class PluginRepo {
|
||||||
let observer = new MutationObserver(changes => {
|
let observer = new MutationObserver(changes => {
|
||||||
changes.forEach(change => {
|
changes.forEach(change => {
|
||||||
if (change.addedNodes) change.addedNodes.forEach(node => {
|
if (change.addedNodes) change.addedNodes.forEach(node => {
|
||||||
if (node.tagName && BDFDB.containsClass(node, "plugin-context-menu") && !node.querySelector(".pluginrepo-item")) {
|
if (node.tagName && BDFDB.containsClass(node, BDFDB.disCN.contextmenu) && BDFDB.getReactValue(node, "return.return.return.memoizedProps.label") == "BandagedBD" && !node.querySelector(".pluginrepo-item")) {
|
||||||
observer.disconnect();
|
|
||||||
let item = node.querySelectorAll(BDFDB.dotCN.contextmenuitem);
|
let item = node.querySelectorAll(BDFDB.dotCN.contextmenuitem);
|
||||||
item = item[item.length-1];
|
item = item[item.length-1];
|
||||||
var settingsContextEntry = BDFDB.htmlToElement(this.settingsContextEntryMarkup);
|
var settingsContextEntry = BDFDB.htmlToElement(this.settingsContextEntryMarkup);
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
class ThemeRepo {
|
class ThemeRepo {
|
||||||
getName () {return "ThemeRepo";}
|
getName () {return "ThemeRepo";}
|
||||||
|
|
||||||
getVersion () {return "1.7.3";}
|
getVersion () {return "1.7.4";}
|
||||||
|
|
||||||
getAuthor () {return "DevilBro";}
|
getAuthor () {return "DevilBro";}
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ class ThemeRepo {
|
||||||
|
|
||||||
initConstructor () {
|
initConstructor () {
|
||||||
this.changelog = {
|
this.changelog = {
|
||||||
"fixed":[["DiscordPreview","Fixed the issue where the titlebar would overlap with the titlebar in the fake preview"]]
|
"fixed":[["BDContextMenu","Fixed compatibility with the newest version of BDContextMenu"]]
|
||||||
};
|
};
|
||||||
|
|
||||||
this.patchModules = {
|
this.patchModules = {
|
||||||
|
@ -380,8 +380,7 @@ class ThemeRepo {
|
||||||
let observer = new MutationObserver(changes => {
|
let observer = new MutationObserver(changes => {
|
||||||
changes.forEach(change => {
|
changes.forEach(change => {
|
||||||
if (change.addedNodes) change.addedNodes.forEach(node => {
|
if (change.addedNodes) change.addedNodes.forEach(node => {
|
||||||
if (node.tagName && BDFDB.containsClass(node, "plugin-context-menu") && !node.querySelector(".themerepo-item")) {
|
if (node.tagName && BDFDB.containsClass(node, BDFDB.disCN.contextmenu) && BDFDB.getReactValue(node, "return.return.return.memoizedProps.label") == "BandagedBD" && !node.querySelector(".themerepo-item")) {
|
||||||
observer.disconnect();
|
|
||||||
let item = node.querySelectorAll(BDFDB.dotCN.contextmenuitem);
|
let item = node.querySelectorAll(BDFDB.dotCN.contextmenuitem);
|
||||||
item = item[item.length-1];
|
item = item[item.length-1];
|
||||||
var settingsContextEntry = BDFDB.htmlToElement(this.settingsContextEntryMarkup);
|
var settingsContextEntry = BDFDB.htmlToElement(this.settingsContextEntryMarkup);
|
||||||
|
|
|
@ -818,6 +818,8 @@ a {
|
||||||
[style*="/assets/f046e2247d730629309457e902d5c5b3.svg"]:before {
|
[style*="/assets/f046e2247d730629309457e902d5c5b3.svg"]:before {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background: rgb(var(--vaccentcolor)) !important;
|
background: rgb(var(--vaccentcolor)) !important;
|
||||||
|
|
Loading…
Reference in New Issue