tomnomnom / hacks

A collection of hacks and one-off scripts
2.12k stars 633 forks source link

Webpaste was working good but , now don't Output th result in the Terminal #26

Closed Deku-izuku-dotcom closed 3 years ago

Deku-izuku-dotcom commented 3 years ago

Hello

I just face the probleme mentioned in the title

I didn't change anything no update.

in past it's work correctly , but now he didn't work any more

can you check it please @tomnomnom

ghost commented 3 years ago

I installed it fresh yesterday, I tested on Brave, Chromium and Chrome, and I'm having the same issue: nothing appears on the terminal. The extension installs ok, it even goes to the next page when I click "Google URLs", but still... nothing on the console. Maybe the snippet code needs some additional tweaking? (I don't know much about javascript, yet)

sociallogin commented 3 years ago

Edit the code for google urls like this:

[...document.querySelectorAll('div.yuRUbf>a:first-child')].map(n=>n.href)

It will work again.

Deku-izuku-dotcom commented 3 years ago

It's Work , Thank you

LucasOneZ commented 1 year ago

[...document.querySelectorAll('div.yuRUbf>a:first-child')].map(n=>n.href)

this isnt working for me i guess

LucasOneZ commented 1 year ago

[...document.querySelectorAll('div.yuRUbf a')].map(n=>n.href)

i got it , i was having same issue but this time i created my own js to pull href , and it worked