Comments (7)
Which browser did you use to copy the code?
from discord-history-tracker.
Google chrome
from discord-history-tracker.
Both Copy to Clipboard
and copying link to tracker script
work fine in Chrome 64, so I can't reproduce the issue. Try disabling extensions and clipboard managers if you have any. If nothing works, paste the script into https://gist.github.com and send a link so I can take a look.
from discord-history-tracker.
Alright, well disabling all my extensions didn't work, so here's the code I'm getting when i click 'copy to clipboard' and copy the code.
javascript:(function(){var e=function(){var n=function(){let e=t.s("messages");return e&&e.children.length&&e.children[0]},s=0,i=0;return{i:function(e){var a=function(){let s=n();if(s)if(s.classList.contains("loading-more"))r(25);else{let n=t.s("messages").children.length;n<100&&(i=0),i>0?(--i,r(750)):(n>300&&(i=6,t.o(()=>{let e=t.s("messages");e.scrollTop=e.scrollHeight/2},1)),e(s.classList.contains("has-more")),r(200))}else r(500)},r=function(e){s=t.o(a,e)};a(),window.l.push(()=>window.clearInterval(s))},h:function(e){var t=Object.keys(e||{}).find(e=>e.startsWith("__reactInternalInstance"));return t?e[t].memoizedProps:null},g:function(){try{var n,s,i=t.s("private-channels");if(i){if(!(s=t.s("selected",i)).classList.contains("private"))return null;var a=t.p("a",s).href.split("/"),r=[].find.call(t.s("channel-name",s).childNodes,e=>e.nodeType===Node.TEXT_NODE).nodeValue;if(!r)return null;n={server:r,channel:r,id:a[a.length-1],type:t.v("status",s).length?"DM":"GROUP"}}else{s=(i=document...{return this.G()._e(e)},i.prototype.Z=function(t){e.push(t)},new i}();if(!window.location.href.includes("discordapp.com/")&&!confirm("Could not detect Discord in the URL, do you want to run the script anyway?"))return;if(window.DHT_LOADED)return void alert("Discord History Tracker is already loaded.");window.DHT_LOADED=!0,window.l=[];let l=!1,c=function(e){l=!0,t.o(()=>{o.ae();l=!1;e&&e()},200)};e.i(t=>{if(o.R()&&!l){let n=e.g();if(!n)return void c();o.Ee(n.server,n.type,n.id,n.channel);let s=e.T();if(!s.length)return void e.A();let a=o.Re(n.id,s);if(r.autoscroll){let n=i.he;a||o._e(s[0].id)?t||(n=r.afterFirstMsg):n=r.afterSavedMsg,n===i.pe&&!e.C()||n===i.ge?o.ae():e.A()}}}),o.Z((t,n)=>{if("tracking"===t&&n){let t=e.g();if(!t)return void c(()=>alert("The selected channel is not visible in the channel list."));if(o.Ee(t.server,t.type,t.id,t.channel),o.Re(t.id,e.T()),r.autoscroll&&e.S())if(e.O())e.A();else{let t=r.afterFirstMsg;(t===i.pe&&!e.C()||t===i.ge)&&c()}}}),n.Y(),a&&n.ie();})()
from discord-history-tracker.
I wanted gist because the code is like 13 thousand characters, not 20 lines. Your browser is copying it wrong, idk why.
from discord-history-tracker.
Is there anywhere else to get the code?
from discord-history-tracker.
Try saving it as a bookmark or use a different browser.
from discord-history-tracker.
Related Issues (20)
- discord.com says : The selected channel is not visible in the channel list. HOT 1
- Database error HOT 3
- Getting "Error" when Click "Start Tracking" despite Server status Ready HOT 8
- Storing raw message data HOT 1
- Running the exe froze computer HOT 5
- DHT No Longer Working HOT 2
- DHT browser version not working HOT 2
- Feature Request: Display the list of failed downloads as links and their location HOT 6
- Way to visualize files downloaded from chat (archive.dht) HOT 3
- Downloading avatars that have full version removed will fail; DHT will not download small avatar image
- Links broken in older .txt archives HOT 1
- Can't download larger attachments HOT 3
- Download messages from a single bot only HOT 3
- [Mac OS] Cannot Open Databases. Can only Create New Ones HOT 2
- New Error on a very specific discord channel HOT 5
- DHT Viewer Error HOT 3
- Tracking error with duplicate attachment id HOT 6
- "save viewer" is missing HOT 2
- Unable to migrate older database (V42.1) to (V43) HOT 7
- Export as .txt file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord-history-tracker.