IMVU Lock List CSS Addon

Improve appearence of blockedlist page on Imvu classic

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==UserScript==
// @name         IMVU Lock List CSS Addon
// @namespace    http://tampermonkey.net/
// @version      2024-04-07-1428
// @description  Improve appearence of blockedlist page on Imvu classic
// @author       Evehne
// @match        https://*.imvu.com/catalog/web_blocked_list.php
// @icon         https://www.google.com/s2/favicons?sz=64&domain=imvu.com
// @grant        none
// @run-at       document-idle
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';
var e = document.querySelector('td .blockedlistbox');
e.innerHTML = e.innerHTML + `
<style>
  body > table {
    margin-top: 150px;
    margin-bottom: 150px;
  }
  #mininav_body{
    position: fixed;
    width: 100%;
    left: 0px;
    top: 0px;
    z-index: 10000 !important;
    background: white;
  }
  .blockedlistbox {
    display: flex;
    width: 98%;
    flex-direction: row;
    justify-items: center;
    text-align: center;
    background: none;
  }
  .blockedlistbox > tbody > tr:has(.infoBox) {
    display: inline-flex;
    width: 350px;
    margin-bottom: 3px;
  }
  .infoBox table[background^="/catalog"]{
    background: none;
  }
  .infoBox:has(font[color="#bb0000"]) {
    opacity: 0.7;
    background: #e3aeae;
  }
  .infoBox:has(font[color="#00bb00"]) {
    opacity: 1.0;
    background: #cff1b9;
  }
  .blockedlistbox > tbody > tr:has(.infoBoxContentstrans){
    display: block;
    position: fixed;
    width: 100%;
    left: 0px;
    top: 34px;
    z-index: 10100 !important;
    background: #333;
    border: 1px solid #333;
  }
  .blockedlistbox > tbody > tr > td:has(.infoBoxContentstrans){
    display: inline-block;
    width: 100%;
    text-align: center;
  }
</style>
`;
var els = document.querySelectorAll('.blockedlistbox > tbody > tr');
var count = els.length;
    els[count-1].parentNode.insertBefore(els[count-1], els[0]);
})();