Skip to content

speedtest.net by SaSh0o0k

Details

AuthorSaSh0o0k

LicenseNo License

Categoryuserstyles

Created

Updated

Size5.2 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

A new userstyle for speedtest.net

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           speedtest.net
@namespace      userstyles.world/user/SaSh0o0k
@version        1.0.0
@description    A new userstyle for speedtest.net
@author         SaSh0o0k
==/UserStyle== */

@-moz-document domain("https://www.speedtest.net/") {
/*     Clean Speed */
div[class*="-ad-"],
div[class*="ads-"],
div[class*="eot-box"],
div[data-ad-placeholder],
.lower-content {
    display:none !important;
    background: red;
}

div.pure-u-custom-speedtest {
    min-height:600px;
}

div.speedtest-container {
    position:absolute;
    left:50%;
    transform: translate(-50%)
}

body {
    background:#1b1f23;
}

header.header, footer.site {
    background:#0e0e0e;
}

header.header .sub-menu {
    background: #171717;
    border: 1px solid #ffffff0d;
    box-shadow: 0 30px 5px #00000052;
}

.main-content {
    background:transparent;
}

.result-container-speed-active {
    background-color:#14171a;
}

footer {
    margin-top: 8em;
}

.start-button a .start-border {
    background-image: linear-gradient(#1a1f23,#0e0e0e),linear-gradient(to bottom,#1ebff6,#0062d2);
}

.gauge .icon-gauge-upload {
    color: #71ebff;
}
}

@-moz-document domain("speedtest.net") {
/*     Cleantest */
body, html {
    background: #141526;
}
.lowerboard-content {
    display: none;
}
.lower-content {
    display: none;
}
footer.footer {
    display: none;
}
.content-devices {
    display: none;
}
.eot-box-wrapper {
    display: none;
}
.pure-u-lg-4-5 {
    display: none;
}
.pure-u-custom-ad-skyscraper .pure-u-custom-ad-rectangle {
    display: none;
}
.result-item-share {
    display: none !important;
}
.pure-u-lg-1-5{
    position: relative;
    top: 72px;
    left: 545px;
}
.speedtest-container {
    top: 15px;
    left: 75px;
}
}

@-moz-document domain("speedtest.net") {
/*     No Ads Speedtest */
.header, 
.pure-u-custom-ad-skyscraper,
.a-container-leaderboard,
.pure-u-custom-ad-rectangle, 
.eot-box-wrapper, 
.ads-column, 
.top-placeholder, 
.lowerboard,
.u-c,
.lower-content,
.lower-content-view,
.result-area-nav-right,
.result-item-container-align-left,
.result-container-meta,
footer.site {
    display: none !important;
}
body {
        background: #141526 !important;
}
.pure-u-custom-speedtest {
    margin: 0 auto !important;
}
}

@-moz-document domain("speedtest.net") {
/*     Speedtest Fix */
    
/*Bane's Edits!*/
:root { --blurStrength: 15px; }

/*Middleise the mainframe*/
.pure-g { justify-content: center; }
.pure-u-1 .pure-g [class*=pure-u-1-2]:first-child { display: none; }
.pure-g .pure-u-custom-ad-skyscraper { display: none; }
.pure-u-1 .pure-g [class*=pure-u-1-2]:last-child { width: 100%; }

/*Censor sensitive content*/
.ispComponent > div > div:not(.result-icon) { filter: blur(var(--blurStrength)); transition: filter .2s; }
.ispComponent:hover > div > div{ filter: blur(0px); }
.server-current > div:not(.result-icon) { filter: blur(var(--blurStrength)); transition: filter .2s; }
.server-current:hover > div{ filter: blur(0px); }
.eot-info .result-data, .eot-info .result-label { filter: blur(var(--blurStrength)); transition: filter .2s; }
.eot-info .result-item > div:not(.result-icon) { filter: blur(var(--blurStrength)); transition: filter .2s; }
.eot-info .result-item:hover > div { filter: blur(0px); }

/*Remove Survey*/
.eot-info-audience { display: none; }
.result-item-container.eot-info .pure-g > .eot-info-test { 
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 100px;
  flex-grow: 1;
  display: flex;

  justify-content: center;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
}
.eot-info-test > .result-item { width: 25% !important; }

.result-item-container > .result-item:nth-child(2) .result-data { filter: blur(var(--blurStrength)); transition: filter .2s; }
.result-item-container > .result-item:nth-child(2):hover .result-data { filter: blur(0px); }

/*Dark Scrollbar*/
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #fff0; }
::-webkit-scrollbar-thumb { background: #4d4e65; }
::-webkit-scrollbar-thumb:hover { background: #716aff; }
::-webkit-scrollbar-corner { background: #0000; }

/*Remove app section*/
.lowerboard-content { display: none !important; }
/*Remove info thing*/
div[role="region"] { display: none; }
/*Remove footer*/
footer { display: none !important; }


/* try and make the GO button fit the results box */
.result-container-speed-active
{
  padding-bottom: 30px;
}

/*Centerise the everything*/
html, body, #container, .pre-fold
{
  min-width: unset;
  width: 100vw !important;
  
  overflow-x: hidden;
}

.pre-fold > div,
.container
{
  max-width: 100vw !important;
}
#container, .pre-fold 
{
  height: 100%;
}

.pre-fold
{
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: column;
}
.main-content 
{ 
  margin-top: -150px;
  
  flex-grow: 1;
  display: flex; 
  
  flex-direction: column;
  justify-content: center;
}
}

@-moz-document regexp(".*(speedtest\\.net/result.*)") {
/*Middleise GO button*/
.start-button a
{
  margin: 0 auto !important;
  transform: scale(.5) translateY(284px) !important;
}
}

@-moz-document url("https://www.speedtest.net/settings") {
div[role="region"]
{
  display: unset;
}
}

Reviews

No reviews yet.