Remove outdated warning in tracker & add version and release date

This commit is contained in:
chylex 2017-06-30 15:15:49 +02:00
parent c9bc6bee08
commit cb9222bdd0

View File

@ -184,8 +184,9 @@ var GUI = (function(){
settings.styles = DOM.createStyle([
"#dht-cfg-overlay { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-color: #000; opacity: 0.5; display: block; z-index: 1000; }",
"#dht-cfg { position: absolute; left: 50%; top: 50%; width: 800px; height: 326px; margin-left: -400px; margin-top: -187px; padding: 8px; background-color: #fff; z-index: 1001; }",
"#dht-cfg-note { margin-top: 22px; }"
"#dht-cfg { position: absolute; left: 50%; top: 50%; width: 800px; height: 308px; margin-left: -400px; margin-top: -154px; padding: 8px; background-color: #fff; z-index: 1001; }",
"#dht-cfg-note { margin-top: 22px; }",
"#dht-cfg sub { color: #666; font-size: 13px; }"
]);
// overlay
@ -217,12 +218,9 @@ var GUI = (function(){
radio("asm", "pause", "Pause Tracking"),
radio("asm", "switch", "Switch to Next Channel"),
"<p id='dht-cfg-note'>",
"Tracking will only trigger when Discord loads new messages. ",
"To ensure that all messages are saved, go to your Friends list to avoid loading any messages, refresh the website, and run the script again.",
"<br><br>",
"Discord History Tracker will not save newly received messages, it is specifically made to load and save the server/group/DM history.",
"<br><br>",
"It is recommended to disable link and image previews to avoid putting unnecessary strain on your browser.",
"Discord History Tracker will not save newly received messages, it is specifically made to load and save the server/group/DM history.<br><br>",
"It is recommended to disable link and image previews to avoid putting unnecessary strain on your browser.<br><br>",
"<sub>BETA v.2, released 31 May 2017</sub>",
"</p>"
].join("");