From edf0189340cfb40e6d090a3029d9f53c0f1ee0a3 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sat, 23 Oct 2021 12:33:03 +0200 Subject: [PATCH] remove commented code --- main.js | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/main.js b/main.js index 8b7f04d..0d79eb8 100644 --- a/main.js +++ b/main.js @@ -7,27 +7,6 @@ window.addEventListener('load', function() { inputs[u].blur(); } - /*var profile = document.querySelector('.profile'); - - if (profile) { - var currentTab = profile.querySelector('.menu a.item.active'); - - if (currentTab && currentTab.getAttribute('href').indexOf('tab=activity') !== -1) { - var feeds = profile.querySelector('.feeds'); - var news = profile.querySelector('.feeds > .news'); - - if (feeds && news) { - var iframe = document.createElement('iframe'); - iframe.setAttribute('class', 'gitnet-activity-iframe'); - iframe.setAttribute('src', 'https://git.deblan.org/index2.php?username=' + document.querySelector('meta[property="og:title"]').getAttribute('content')); - iframe.setAttribute('frameborder', '0'); - - feeds.insertBefore(iframe, news); - } - } - } - */ - var stylusInterval = window.setInterval(function() { var stylus = document.querySelector('style.stylus');