Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
myselfolli

Icons missing?

Recommended Posts

// ==UserScript==
// @name         Gimme icons
// @version      0.1
// @description  give a background color to fix the invisible icons on a profiles reputation page.
// @author       Lars
// @include      https://linustechtips.com/main/profile/*/reputation/*
// ==/UserScript==

$( window ).on( "load", function() {$(".ipsGrid_span6").css({"background-color": "#222" });});

Because I couldn't stand the discrimination against light mode (and because I wanted to try) I wrote a tiny userscript that makes the background color behind the icons dark. It's quite a bad and temporary fix until next update but it works (on chrome at least as that's where I tested it). You can add it via an add-onn like tampermonkey on chrome if you like :)

It makes the it look like this btw (not perfect but it works):

Spoiler

image.png.74cfe2da764af85d306cee0afcfbdab1.png

 


while (alive == true) { breathe(); }

 

Link to post
Share on other sites
25 minutes ago, Kleine IJsbeer said:

// ==UserScript==
// @name         Gimme icons
// @version      0.1
// @description  give a background color to fix the invisible icons on a profiles reputation page.
// @author       Lars
// @include      https://linustechtips.com/main/profile/*/reputation/*
// ==/UserScript==

$( window ).on( "load", function() {$(".ipsGrid_span6").css({"background-color": "#222" });});

Because I couldn't stand the discrimination against light mode (and because I wanted to try) I wrote a tiny userscript that makes the background color behind the icons dark. It's quite a bad and temporary fix until next update but it works (on chrome at least as that's where I tested it). You can add it via an add-onn like tampermonkey on chrome if you like :)

It makes the it look like this btw (not perfect but it works):

  Hide contents

image.png.74cfe2da764af85d306cee0afcfbdab1.png

 

I'd recommend using

$(".cProfileRepScore ~ .ipsBox .ipsGrid_span6").addClass("lmgReactionListRow_icon")

inside the load function, which will make it consistent with the other rep stuff (making the resulting user script

// ==UserScript==
// @name         Gimme icons
// @version      0.1
// @description  give a background color to fix the invisible icons on a profiles reputation page.
// @author       Lars
// @include      https://linustechtips.com/main/profile/*/reputation/*
// ==/UserScript==

$( window ).on( "load", function() {$(".cProfileRepScore ~ .ipsBox .ipsGrid_span6").addClass("lmgReactionListRow_icon");});

)

image.png


HTTP/2 203

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×