Skip to content

Instantly share code, notes, and snippets.

@HKGx
Last active April 23, 2020 17:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HKGx/7958a6d18d1128ae4dd5f5e365ab5094 to your computer and use it in GitHub Desktop.
Save HKGx/7958a6d18d1128ae4dd5f5e365ab5094 to your computer and use it in GitHub Desktop.
Make every discount on steam a █▬█ █ ▀█▀
// ==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');
})();
@HKGx
Copy link
Author

HKGx commented Nov 28, 2018

look how cool it is

uwu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment