mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2025-05-31 15:49:22 +03:00
Release v.25
This commit is contained in:
parent
7393bab848
commit
08547c0b29
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name Discord History Tracker
|
// @name Discord History Tracker
|
||||||
// @version v.24
|
// @version v.25
|
||||||
// @license MIT
|
// @license MIT
|
||||||
// @namespace https://chylex.com
|
// @namespace https://chylex.com
|
||||||
// @homepageURL https://dht.chylex.com/
|
// @homepageURL https://dht.chylex.com/
|
||||||
@ -150,9 +150,9 @@ var DISCORD = (function(){
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
channelListEle = document.querySelector("div[class*='sidebar'] > nav[class*='container']");
|
channelListEle = document.getElementById("channels");
|
||||||
|
|
||||||
var channel = channelListEle.querySelector("div[class*='scrollerWrap'] > div[class*='scroller'] [class*='modeSelected']").parentElement;
|
var channel = channelListEle.querySelector("[class*='modeSelected']").parentElement;
|
||||||
var props = DISCORD.getReactProps(channel);
|
var props = DISCORD.getReactProps(channel);
|
||||||
|
|
||||||
if (!props){
|
if (!props){
|
||||||
@ -166,7 +166,7 @@ var DISCORD = (function(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
obj = {
|
obj = {
|
||||||
"server": channelListEle.querySelector("header > h1").innerText,
|
"server": document.querySelector("nav header > h1").innerText,
|
||||||
"channel": channelObj.name,
|
"channel": channelObj.name,
|
||||||
"id": channelObj.id,
|
"id": channelObj.id,
|
||||||
"type": "SERVER",
|
"type": "SERVER",
|
||||||
@ -601,7 +601,7 @@ ${radio("asm", "pause", "Pause Tracking")}
|
|||||||
${radio("asm", "switch", "Switch to Next Channel")}
|
${radio("asm", "switch", "Switch to Next Channel")}
|
||||||
<p id='dht-cfg-note'>
|
<p id='dht-cfg-note'>
|
||||||
It is recommended to disable link and image previews to avoid putting unnecessary strain on your browser.<br><br>
|
It is recommended to disable link and image previews to avoid putting unnecessary strain on your browser.<br><br>
|
||||||
<sub>v.24, released 25 June 2020</sub>
|
<sub>v.25, released 1 July 2020</sub>
|
||||||
</p>`);
|
</p>`);
|
||||||
|
|
||||||
// elements
|
// elements
|
||||||
|
File diff suppressed because one or more lines are too long
4
build.py
4
build.py
@ -9,8 +9,8 @@ import re
|
|||||||
import distutils.dir_util
|
import distutils.dir_util
|
||||||
|
|
||||||
|
|
||||||
VERSION_SHORT = "v.24"
|
VERSION_SHORT = "v.25"
|
||||||
VERSION_FULL = VERSION_SHORT + ", released 25 June 2020"
|
VERSION_FULL = VERSION_SHORT + ", released 1 July 2020"
|
||||||
|
|
||||||
|
|
||||||
EXEC_UGLIFYJS_WIN = "{2}/lib/uglifyjs.cmd --parse bare_returns --compress --mangle toplevel --mangle-props keep_quoted,reserved=[{3}] --output \"{1}\" \"{0}\""
|
EXEC_UGLIFYJS_WIN = "{2}/lib/uglifyjs.cmd --parse bare_returns --compress --mangle toplevel --mangle-props keep_quoted,reserved=[{3}] --output \"{1}\" \"{0}\""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user