From f851d4941d05f5a8f1d467cb7074315a129d548a Mon Sep 17 00:00:00 2001 From: James Edington Date: Sun, 1 Mar 2020 15:06:43 -0600 Subject: [PATCH] Initial commit --- scripts/steam-skip-urlfilter.user.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 scripts/steam-skip-urlfilter.user.js diff --git a/scripts/steam-skip-urlfilter.user.js b/scripts/steam-skip-urlfilter.user.js new file mode 100644 index 0000000..d4f3378 --- /dev/null +++ b/scripts/steam-skip-urlfilter.user.js @@ -0,0 +1,14 @@ +// ==UserScript== +// @name Auto-Acknowledge Steam URL Filter +// @namespace .xyz.ishygddt +// @include https://steamcommunity.com/linkfilter/?url=* +// @version 0.0.1 +// @run-at document-end +// ==/UserScript== + +l=document.getElementsByClassName('url'); + +if(l.length==1) + if(confirm(l[0].textContent)) + document.getElementById('proceedButton').click(); +