d2jsp
Log InRegister
d2jsp Forums > d2jsp > General Help > Can You Disable Other Users' Styled Profiles?
12Next
Add Reply New Topic
Member
Posts: 3,386
Joined: May 4 2013
Gold: 1,780.00
Apr 28 2023 01:56pm
We can disable display of other users' avatars, signatures, nick colors/orbs, and profile pictures. But is it possible to completely disable what they changed in their profile? And keep the site nice and blue everywhere? Right now if I click some users, each will have completely random colors fonts etc

Thanks
Member
Posts: 40,446
Joined: Dec 5 2007
Gold: 7,517.50
Warn: 10%
Apr 28 2023 01:58pm
You cannot change the display of another user's profile
Member
Posts: 31,510
Joined: Sep 5 2009
Gold: 539.00
Apr 28 2023 02:33pm
Quote (nuvo @ Apr 28 2023 12:56pm)
We can disable display of other users' avatars, signatures, nick colors/orbs, and profile pictures. But is it possible to completely disable what they changed in their profile? And keep the site nice and blue everywhere? Right now if I click some users, each will have completely random colors fonts etc

Thanks


Who uses the basic white/blue? It's so bright and ugly :huh:
Member
Posts: 15,801
Joined: Jul 9 2021
Gold: 291.00
Apr 28 2023 02:34pm
have to write a tampermonkey script for that

Code
// ==UserScript==
// @name Replace CSS import rule to jsp's default blue
// @namespace http://d2jsp.org/
// @version 1
// @description Replaces all CSS import rules with a specific URL
// @match https://forums.d2jsp.org/user.php?i=*
// @grant none
// ==/UserScript==

(function() {
'use strict';

// Get all the style elements on the page
var styleElements = document.getElementsByTagName('style');

// Loop through each style element
for (var i = 0; i < styleElements.length; i++) {
var styleElement = styleElements[i];

// Get the CSS text of the style element
var cssText = styleElement.textContent;

// Replace all the @import rules with the new URL
var newCssText = cssText.replace(/@import url\(.*\);/g, '@import url(css/c0.css?v=7);');

// Set the new CSS text of the style element
styleElement.textContent = newCssText;
}
})();


does cause a flash however bcz the css is already loaded
Member
Posts: 3,386
Joined: May 4 2013
Gold: 1,780.00
Apr 28 2023 02:38pm
Quote (ChocolateCoveredGummyBears @ Apr 28 2023 10:34pm)
have to write a tampermonkey script for that


does cause a flash however bcz the css is already loaded


hah awesome, I was thinking to just make usercss but wanted to ask first if maybe i'm blind and not see the setting. Thanks man that saves me time

Member
Posts: 15,801
Joined: Jul 9 2021
Gold: 291.00
Apr 28 2023 02:43pm
Quote (nuvo @ Apr 28 2023 01:38pm)
hah awesome, I was thinking to just make usercss but wanted to ask first if maybe i'm blind and not see the setting. Thanks man that saves me time


cool beans man.
Member
Posts: 25,051
Joined: Apr 22 2022
Gold: 1,100.03
Apr 28 2023 02:59pm
Quote (ChocolateCoveredGummyBears @ Apr 28 2023 10:43pm)
cool beans man.


Only one I’ve heard saying this - is Biffa :lol:
Member
Posts: 11,370
Joined: Apr 12 2009
Gold: 1,772.20
Apr 28 2023 03:09pm
Quote (ChocolateCoveredGummyBears @ Apr 28 2023 04:34pm)
have to write a tampermonkey script for that

Code
// ==UserScript==
// @name Replace CSS import rule to jsp's default blue
// @namespace http://d2jsp.org/
// @version 1
// @description Replaces all CSS import rules with a specific URL
// @match https://forums.d2jsp.org/user.php?i=*
// @grant none
// ==/UserScript==

(function() {
'use strict';

// Get all the style elements on the page
var styleElements = document.getElementsByTagName('style');

// Loop through each style element
for (var i = 0; i < styleElements.length; i++) {
var styleElement = styleElements[i];

// Get the CSS text of the style element
var cssText = styleElement.textContent;

// Replace all the @import rules with the new URL
var newCssText = cssText.replace(/@import url\(.*\);/g, '@import url(css/c0.css?v=7);');

// Set the new CSS text of the style element
styleElement.textContent = newCssText;
}
})();


does cause a flash however bcz the css is already loaded


Tested this out and it worked well. you can use this to disable other user’s display.
Trade Moderator
Posts: 14,202
Joined: Mar 11 2006
Gold: 1,000.00
Trader: Trusted
Apr 28 2023 08:00pm
Quote (nuvo @ Apr 28 2023 03:56pm)
We can disable display of other users' avatars, signatures, nick colors/orbs, and profile pictures. But is it possible to completely disable what they changed in their profile? And keep the site nice and blue everywhere? Right now if I click some users, each will have completely random colors fonts etc

Thanks


Who still uses the Blue lol

I normally use D2JSP Dark Theme :thumbsup:
Member
Posts: 3,719
Joined: Feb 8 2014
Gold: 0.00
Apr 28 2023 11:16pm
Everyone still uses the blue, even if you select a different theme, because that's what's loaded if you ever have to clear your cookies. Happens more than you'd like to realize.

This post was edited by bvanharjr on Apr 28 2023 11:16pm
Go Back To General Help Topic List
12Next
Add Reply New Topic