Release v.30

This commit is contained in:
chylex 2021-03-28 14:44:39 +02:00
parent 6023fe2b2b
commit 3f62490783
4 changed files with 22 additions and 7 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name Discord History Tracker // @name Discord History Tracker
// @version v.29 // @version v.30
// @license MIT // @license MIT
// @namespace https://chylex.com // @namespace https://chylex.com
// @homepageURL https://dht.chylex.com/ // @homepageURL https://dht.chylex.com/
@ -594,7 +594,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.29, released 20 Dec 2020</sub> <sub>v.30, released 28 Mar 2021</sub>
</p>`); </p>`);
// elements // elements
@ -705,7 +705,8 @@ It is recommended to disable link and image previews to avoid putting unnecessar
* { * {
* url: <attachment url> * url: <attachment url>
* }, ... * }, ...
* ] * ],
* r: <reply message id> // only present if referencing another message (reply)
* }, ... * }, ...
* }, ... * }, ...
* } * }
@ -883,6 +884,10 @@ class SAVEFILE{
})); }));
} }
if (discordMessage.messageReference !== null){
obj.r = discordMessage.messageReference.message_id;
}
return obj; return obj;
} }

File diff suppressed because one or more lines are too long

View File

@ -8,8 +8,8 @@ import os
import re import re
import distutils.dir_util import distutils.dir_util
VERSION_SHORT = "v.29" VERSION_SHORT = "v.30"
VERSION_FULL = VERSION_SHORT + ", released 20 Dec 2020" VERSION_FULL = VERSION_SHORT + ", released 28 Mar 2021"
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}\""
EXEC_UGLIFYJS_AUTO = "uglifyjs --parse bare_returns --compress --mangle toplevel --mangle-props keep_quoted,reserved=[{3}] --output \"{1}\" \"{0}\"" EXEC_UGLIFYJS_AUTO = "uglifyjs --parse bare_returns --compress --mangle toplevel --mangle-props keep_quoted,reserved=[{3}] --output \"{1}\" \"{0}\""