mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2025-04-13 15:27:16 +03:00
Release v.22
This commit is contained in:
parent
678bd358ba
commit
849e0c798a
File diff suppressed because one or more lines are too long
@ -1,11 +1,11 @@
|
||||
// ==UserScript==
|
||||
// @name Discord History Tracker
|
||||
// @version v.21
|
||||
// @version v.22
|
||||
// @license MIT
|
||||
// @namespace https://chylex.com
|
||||
// @homepageURL https://dht.chylex.com/
|
||||
// @supportURL https://github.com/chylex/Discord-History-Tracker/issues
|
||||
// @include https://discordapp.com/*
|
||||
// @include https://discord.com/*
|
||||
// @run-at document-idle
|
||||
// @grant none
|
||||
// ==/UserScript==
|
||||
@ -593,7 +593,7 @@ ${radio("asm", "pause", "Pause Tracking")}
|
||||
${radio("asm", "switch", "Switch to Next Channel")}
|
||||
<p id='dht-cfg-note'>
|
||||
It is recommended to disable link and image previews to avoid putting unnecessary strain on your browser.<br><br>
|
||||
<sub>v.21, released 19 Apr 2020</sub>
|
||||
<sub>v.22, released 6 May 2020</sub>
|
||||
</p>`);
|
||||
|
||||
// elements
|
||||
@ -1113,7 +1113,7 @@ var STATE = (function(){
|
||||
return new CLS();
|
||||
})();
|
||||
|
||||
if (!window.location.href.includes("discordapp.com/")){
|
||||
if (!window.location.href.includes("discord.com/")){
|
||||
if (!confirm("Could not detect Discord in the URL, do you want to run the script anyway?")){
|
||||
return;
|
||||
}
|
||||
@ -1266,7 +1266,7 @@ window.setInterval(function(){
|
||||
return;
|
||||
}
|
||||
|
||||
const help = document.querySelector("section[class^='title'] a[href*='support.discordapp.com']");
|
||||
const help = document.querySelector("section[class^='title'] a[href*='support.discord.com']");
|
||||
|
||||
if (help){
|
||||
help.insertAdjacentHTML("afterend", `
|
||||
|
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
|
||||
|
||||
|
||||
VERSION_SHORT = "v.21"
|
||||
VERSION_FULL = VERSION_SHORT + ", released 19 Apr 2020"
|
||||
VERSION_SHORT = "v.22"
|
||||
VERSION_FULL = VERSION_SHORT + ", released 6 May 2020"
|
||||
|
||||
|
||||
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