dapanyuntu.better

dapanyuntu better

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         dapanyuntu.better
// @namespace    linux.do/u/io.oi/dapanyuntu.better
// @version      1.0.0
// @author       LINUX.DO
// @description  dapanyuntu better
// @license      MIT
// @icon         https://dapanyuntu.com/favicon.ico
// @match        https://dapanyuntu.com/*
// @grant        GM_addStyle
// ==/UserScript==

(t=>{if(typeof GM_addStyle=="function"){GM_addStyle(t);return}const e=document.createElement("style");e.textContent=t,document.head.append(e)})(" .view{height:64px!important;padding:0!important}.view .view-select{height:100%!important;margin-left:0!important}.view .view-select .column1{height:100%!important;padding:10px!important}.view .fr{height:64px!important;line-height:64px!important;padding-top:0!important}.map-scan .sidebar{height:auto!important;padding:10px!important}.map-scan .sidebar :is(select){width:100%!important} ");

(function () {
  'use strict';

  window.addEventListener("load", () => {
    var _a, _b, _c, _d;
    (_a = document.querySelector("div.view h1")) == null ? void 0 : _a.remove();
    (_b = document.querySelector("div.view h2")) == null ? void 0 : _b.remove();
    (_c = document.querySelector("div.view div.zoom")) == null ? void 0 : _c.remove();
    document.querySelectorAll("div.sidebar3").forEach((el) => el.remove());
    (_d = document.querySelector("div#ss-chat-p")) == null ? void 0 : _d.remove();
  });

})();