StyleFixes

Miscellaneous fixes for various pages.

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

Bạn sẽ cần cài đặt một tiện ích mở rộng như Tampermonkey hoặc Violentmonkey để cài đặt kịch bản này.

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.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

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!)

/* ==UserStyle==
@name               StyleFixes
@namespace          sun/userstyles
@version            1.6.4
@description        Miscellaneous fixes for various pages.
@compatible         chrome
@compatible         edge
@compatible         firefox
@compatible         opera
@compatible         safari
@homepageURL        https://forgejo.sny.sh/sun/userstyles
@supportURL         https://forgejo.sny.sh/sun/userstyles/issues
@contributionURL    https://liberapay.com/sun
@contributionAmount €1.00
@author             Sunny <[email protected]>
@icon               https://forgejo.sny.sh/sun/userstyles/raw/branch/main/icons/StyleFixes.png
@copyright          2022-present, Sunny (https://sny.sh/)
@license            Hippocratic License; https://forgejo.sny.sh/sun/userstyles/src/branch/main/LICENSE.md
@preprocessor       stylus
@var                checkbox fandom    "Fandom: Fix page offset"             1
@var                checkbox figma     "Figma: Resizable plugin windows"     1
@var                checkbox filecrypt "Filecrypt: Fix captcha size"         1
@var                checkbox imdb      "IMDb: Merge IMDb Scout lines"        1
@var                checkbox invidious "Invidious: Fix audio mode alignment" 1
@var                checkbox itch      "itch.io: Fix header width"           1
@var                checkbox mschf     "MSCHF: Bypass password prompts"      1
@var                checkbox sankaku   "Sankaku: Hide blacklisted posts"     1
@var                checkbox vrchat    "VRChat: Fix page height"             1
==/UserStyle== */

@-moz-document domain("fandom.com") {
  if fandom {
    .page-side-tools__wrapper {
      display: none;
    }
  }
}

@-moz-document domain("figma.com") {
  if figma {
    .jsvm_ui--pluginUI--HIW9L .draggable_modal--positionedContainer--1aHEn {
      width: auto !important;
      height: auto !important;
    }
    .plugin-iframe-in-modal {
      resize: both;
    }
  }
}

@-moz-document domain("filecrypt.cc") {
  if filecrypt {
    #nc {
      width: initial;
      height: initial;
    }
  }
}

@-moz-document domain("imdb.com") {
  if imdb {
    .Hero__MediaContentContainer__Video-sc-kvkd64-2,
    #imdbscout_header {
      float: left;
    }
    #imdbscoutsecondbar_header {
      float: right;
    }
    #scout_rating_table {
      position: absolute;
      right: 0;
    }
  }
}

@-moz-document regexp(".*:\\/\\/.*\\/watch\\?v=.*") {
  if invidious {
    [title="Audio mode"],
    [title="Video mode"] {
      margin-left: auto;
    }
  }
}

@-moz-document domain("itch.io") {
  if itch {
    .header_widget {
      width: 100%;
    }
  }
}

@-moz-document domain("screamclub.club"), domain("spottingplutes.com"), domain("whitewhale.is"), domain("bread.mschfmag.com"), domain("cred.mschfmag.com"), domain("versus.mschfmag.com"), domain("people.mschfmag.com") {
  if mschf {
    body {
      overflow: unset !important;
    }

    #MSCHFPreloader.has-password {
      display: none;
    }
  }
}

@-moz-document domain("chan.sankakucomplex.com") {
  if sankaku {
    .blacklisted {
      display: none !important;
    }
  }
}

@-moz-document url-prefix("https://vrchat.com/home")
{
  if vrchat {
    .content-scroll {
      height: auto !important;
    }
  }
}