Add pattern for samsung.com

This commit is contained in:
Dave Gallant
2022-12-27 21:22:34 -05:00
committed by GitHub
parent 71cc6c45bf
commit 3b7b12c277

View File

@@ -1,10 +1,10 @@
// ==UserScript== // ==UserScript==
// @name RedFlagDeals Redirect Stripper
// @author Dave Gallant // @author Dave Gallant
// @description Strip redirect links on forums.redflagdeals.com // @description Strip redirect links on forums.redflagdeals.com
// @downloadURL https://raw.githubusercontent.com/davegallant/rfd-redirect-stripper/main/script.js // @downloadURL https://raw.githubusercontent.com/davegallant/rfd-redirect-stripper/main/script.js
// @grant none // @grant none
// @match *://forums.redflagdeals.com/* // @match *://forums.redflagdeals.com/*
// @name RedFlagDeals Redirect Stripper
// @namespace http://tampermonkey.net/ // @namespace http://tampermonkey.net/
// @updateURL https://raw.githubusercontent.com/davegallant/rfd-redirect-stripper/main/script.js // @updateURL https://raw.githubusercontent.com/davegallant/rfd-redirect-stripper/main/script.js
// @version 0.0.1 // @version 0.0.1
@@ -24,6 +24,10 @@
name: 'Best Buy', name: 'Best Buy',
pattern: 'bestbuyca.(.*).net(.*)\\?u=(?<baseUrl>.*)', pattern: 'bestbuyca.(.*).net(.*)\\?u=(?<baseUrl>.*)',
}, },
{
name: 'Samsung',
pattern: 'www.awin1.com(.*)\?p=(?<baseUrl>.*)',
},
]; ];
var StripRedirect = function(URL) { var StripRedirect = function(URL) {