JohnDilinger

hide_serial_rank_inMain

Sep 9th, 2025
62
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JavaScript 0.97 KB | Source Code | 0 0
  1. (function () {
  2.     'use strict';
  3.     function bb123(src) {
  4.         const overrideCSS = `
  5.         .items-line--type-top .items-cards .card:nth-child(1),
  6.         .items-line--type-top .items-cards .card:nth-child(2),
  7.         .items-line--type-top .items-cards .card:nth-child(3) {
  8.           margin-left: 1em !important;
  9.         }
  10.         .items-line--type-top .items-cards .card:nth-child(1)::before,
  11.         .items-line--type-top .items-cards .card:nth-child(2)::before,
  12.         .items-line--type-top .items-cards .card:nth-child(3)::before {
  13.           content: none !important;
  14.         }
  15.       `;
  16.         const styleTag = document.createElement("style");
  17.         styleTag.textContent = overrideCSS;
  18.         document.head.appendChild(styleTag);
  19.     }
  20.    
  21.     if (window.appready) {
  22.         bb123();
  23.     }
  24.     else {
  25.         Lampa.Listener.follow('app', function (e) {
  26.             if (e.type == 'ready') {
  27.                 bb123();
  28.             }
  29.         });
  30.     }
  31. })();
Advertisement
Comments
Add Comment
Please, Sign In to add comment