Falcon / Hide sticky tweets

// ==UserScript==
// @name         Hide sticky tweets
// @namespace    https://hi.cellmean.com/
// @version      0.4.1
// @description  Sticky tweet is getting worse
// @author       Falcon
// @match        https://www.oschina.net/tweets
// @match        https://my.oschina.net/*
// @icon         https://static.oschina.net/new-osc/img/favicon.ico
// @run-at       document-start
// @grant        GM_addStyle
// @license MIT

// ==/UserScript==
/*jshint esversion: 6 */
(function() {
    'use strict';

    GM_addStyle(`
     .sidebar .tweet-item{opacity:0;transition: all .3s ease-in-out;}
     .five.wide.computer.sixteen.wide.tablet.column.sidebar:after {
       position: absolute;
       content: '';
       left: calc(50% - 1.5em);
       top: 10em;
       width: 2em;
       height: 2em;
       -webkit-animation: form-spin .6s linear;
       animation: form-spin .6s linear;
       -webkit-animation-iteration-count: infinite;
       animation-iteration-count: infinite;
       border-radius: 500rem;
       border-color: #767676 rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.1);
       border-style: solid;
       border-width: .2em;
       -webkit-box-shadow: 0 0 0 1px transparent;
       box-shadow: 0 0 0 1px transparent;
       visibility: visible;
       z-index: 101;
     }
    `);
    document.addEventListener ("DOMContentLoaded", ()=>{
       if(document.querySelector('.web-tweet-common') || document.querySelector('.tweet-detail-page') ){
         document.querySelectorAll('.sidebar .tweet-item').forEach(item=>{
               if(!item.querySelector('.content .tweet-user-info__sidebar .as-top-label')){
                   item.setAttribute('style','opacity:1')
               }else {
                   item.remove()
               }
          })

          GM_addStyle(`.five.wide.computer.sixteen.wide.tablet.column.sidebar:after{display:none}`)
       }
    });

    
})();