Last active
April 23, 2020 17:13
-
-
Save HKGx/7958a6d18d1128ae4dd5f5e365ab5094 to your computer and use it in GitHub Desktop.
Make every discount on steam a █▬█ █ ▀█▀
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
// ==UserScript== | |
// @name █▬█ █ ▀█▀ | |
// @namespace https://github.com/HKGx | |
// @version 1.1 | |
// @description Make every discount a █▬█ █ ▀█▀ | |
// @author HKG | |
// @match https://store.steampowered.com/* | |
// @grant none | |
// @downloadURL https://gist.github.com/HKGx/7958a6d18d1128ae4dd5f5e365ab5094/raw/65d7756558257ff440a4843a90f825ef0970e789/█▬█ █ ▀█▀.user.js | |
// @updateURL https://gist.github.com/HKGx/7958a6d18d1128ae4dd5f5e365ab5094/raw/65d7756558257ff440a4843a90f825ef0970e789/█▬█ █ ▀█▀.user.js | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
Array.from(document.getElementsByClassName('discount_pct')).forEach(x => | |
{ | |
let prev = x.innerHTML; | |
x.innerHTML = "█▬█ █ ▀█▀ " + prev; | |
return; | |
}); | |
console.log('UwU done'); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
look how cool it is