From 684542e2ded8008d11a6abd2cf3aaf24de2e9c6d Mon Sep 17 00:00:00 2001 From: sparky23172 <46407811+sparky23172@users.noreply.github.com> Date: Sun, 17 Oct 2021 23:55:27 -0500 Subject: [PATCH 1/2] Update README.md Updated for latest google requirement --- webpaste/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpaste/README.md b/webpaste/README.md index 389aa5b..d7090d3 100644 --- a/webpaste/README.md +++ b/webpaste/README.md @@ -43,7 +43,7 @@ cat hacks/webpaste/extension/snippets.js [ { "name": "Google URLs", - "code": "[...document.querySelectorAll('div.r>a:first-child')].map(n=>n.href)", + "code": "[...document.querySelectorAll('div.yuRUbf>a:first-child')].map(n=>n.href)", "onsuccess": "document.location=document.querySelectorAll('a#pnnext')[0].href;" }, From 3543a7d38998010af1227ecb77aa1fb978d2813a Mon Sep 17 00:00:00 2001 From: sparky23172 <46407811+sparky23172@users.noreply.github.com> Date: Sun, 17 Oct 2021 23:56:19 -0500 Subject: [PATCH 2/2] Update snips Updated snip as well for latest google requirement --- webpaste/extension/snips | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpaste/extension/snips b/webpaste/extension/snips index b02226a..b95ede2 100644 --- a/webpaste/extension/snips +++ b/webpaste/extension/snips @@ -1,5 +1,5 @@ Google URLs -[...document.querySelectorAll('div.r>a:first-child')].map(n=>n.href) +[...document.querySelectorAll('div.yuRUbf>a:first-child')].map(n=>n.href) document.location=document.querySelectorAll('a#pnnext')[0].href; GitHub Results