Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name SG Remove Fanatical Sale Info
- // @namespace http://tampermonkey.net/
- // @version 1.1
- // @description Remove the Fanatical Sale Promotion from the SteamGifts giveaways page.
- // @author Alpha2749
- // @match https://www.steamgifts.com/
- // @match https://www.steamgifts.com/giveaways/search*
- // @icon https://i.imgur.com/ZiFij4j.png
- // @require https://code.jquery.com/jquery-3.6.0.min.js
- // ==/UserScript==
- (function() {
- 'use strict';
- // Credit to refat17 on SG for the (much better) JQuery Implementation
- $("div.block_header_link:contains('View Sale')").each(function() {
- $(this).parents("div.widget-container").first().remove();
- });
- $("div.block_header_link:contains('View Bundle')").each(function() {
- $(this).parents("div.widget-container").first().remove();
- });
- $("div.block_header_link:contains('View Deals')").each(function() {
- $(this).parents("div.widget-container").first().remove();
- });
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement