This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"url": "https://www.youtube.com/watch?v=hHOOAYW1IUo", | |
"username": "scraptionx", | |
"rankValue": 20000 | |
}, | |
{ | |
"url": "https://www.youtube.com/watch?v=TYpptcq3O2Y", | |
"username": "Percyy", | |
"rankValue": 20000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
'use strict'; | |
const CARD_SELECTOR = '.mantine-Card-root'; | |
const IMG_SELECTOR = 'img[alt]'; // contains full item alt like: "★ StatTrak™ Butterfly Knife | ..." | |
const ST_SUFFIX = ' ST™'; // note the leading space | |
const NAME_FINDER = (card) => { | |
// Heuristic: first <p> name line after the image. | |
const centers = card.querySelectorAll('.mantine-Center-root'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
'use strict'; | |
function isFavorite(button) { | |
const svg = button.querySelector('svg'); | |
return svg && svg.style.color === 'yellow'; | |
} | |
function clickFavorites(toFavorite = true) { | |
const buttons = [...document.querySelectorAll('button.mantine-ActionIcon-root')]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
'use strict'; | |
// Use the key provided by the loader so cleanup can target our stuff. | |
const KEY = window.__ccCurrentKey || 'card_backgounde_script'; | |
const GRAY = '#2e2e2e'; | |
const GRAY_HOVER = 'rgb(55, 55, 55)'; | |
let observer = null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
'use strict'; | |
const ICONS = { | |
doppler: { | |
sapphire: { | |
url: 'https://i.imgur.com/by6BOg9.png', | |
glow: '0 0 12px rgba(0, 153, 255, 0.8)' | |
}, | |
ruby: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
'use strict'; | |
// Initialize toggle state from saved preference | |
let toggled = localStorage.getItem('navbarState') === 'hidden'; | |
// Apply current toggle state | |
function applyState() { | |
const navbar = document.querySelector('.mantine-AppShell-navbar'); | |
const paddedElements = document.querySelectorAll('.m_8983817'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"match": "BIG vs FaZe – 27.07 19:00", | |
"yt": "Subscribe to Zonixx on YouTube!", | |
"s1mple": "s1mple was on loan to FaZe..." | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Fever Case": [ | |
{ | |
"weapon": "M4A4", | |
"name": "Choppa", | |
"tier": "Mil-Spec", | |
"img": "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_m4a1_m4a4_green_camo_light_png.png", | |
"price_range": "$0.14 - $5.11", | |
"float_range": "0 - 1" | |
}, |