Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update documentation and snip based off of @viperbluff's comment #42

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion webpaste/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;"
},

Expand Down
2 changes: 1 addition & 1 deletion webpaste/extension/snips
Original file line number Diff line number Diff line change
@@ -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
Expand Down