diff --git a/the-great-divide.js b/the-great-divide.js
index 3254db9..eec7940 100644
--- a/the-great-divide.js
+++ b/the-great-divide.js
@@ -87,69 +87,4 @@ async function UserStatsTab() {
action: "greatdivide_stats",
userID: document.querySelector('.dropdown-item.text-danger[href^="/report"]').getAttribute('href').split('?')[0].split('/')[3]
});
-}
-
-async function UserStatsTabOLD() {
- const Tabs = document.getElementById('user-info-tabs')
-
- const EventTab = document.createElement('li')
- EventTab.classList = 'nav-item'
- EventTab.style.marginLeft = 'auto'
- EventTab.innerHTML = `
-
-
- Great Divide
-
- `
- Tabs.appendChild(EventTab)
-
- const TabContainer = document.createElement('div')
- TabContainer.id = 'p+greatdivide_stats'
- TabContainer.classList = 'tab-pane fade d-none'
- TabContainer.innerHTML = `
-
- loading...
-
-
- `
- document.getElementById('user-friends').parentElement.appendChild(TabContainer)
-
- const ToggleTab = function(tab){
- Array.from(Tabs.children).forEach((tab) => {
- tab.children[0].classList.remove('active');
- });
- Array.from(document.getElementById('user-friends').parentElement.children).forEach((tab) => {
- tab.classList.add('d-none');
- tab.classList.remove('active');
- tab.classList.remove('show');
- });
- tab.children[0].classList.add('active');
-
- let SelectedTab
- if (tab.children[0].getAttribute('data-bs-target')) {
- SelectedTab = document.getElementById(tab.children[0].getAttribute('data-bs-target').substring(1))
- } else if (tab.children[0].classList.contains('fw-bold')) {
- SelectedTab = TabContainer
- }
- SelectedTab.classList.add('active');
- SelectedTab.classList.add('show');
- SelectedTab.classList.remove('d-none');
- }
-
- Array.from(Tabs.children).forEach((tab) => {
- tab.addEventListener('click', function () {
- ToggleTab(tab)
- });
- });
-
- let Fetched = false
- EventTab.addEventListener('click', async function(){
- if (Fetched === false) {
- chrome.runtime.sendMessage({
- action: "greatdivide_stats",
- userID: document.querySelector('.dropdown-item.text-danger[href^="/report"]').getAttribute('href').split('?')[0].split('/')[3]
- });
- Fetched = true
- }
- })
}
\ No newline at end of file