tgies: (Default)
[personal profile] tgies

Google has a horrible new thing called "SearchWiki" which adds a bunch of stupid buttons to every results page if you are logged into Google:

searchwiki

I hate it.

Here is a user script I wrote so that Firefox users with Greasemonkey can be rid of it. It should also work in Opera without anything extra installed, but I am not clear on the specifics of that (Google it instead of bugging me about it).

searchwikigotohell.user.js

The only issue I am aware of is that you will still have a little trailing hyphen at the end of every result because I couldn't be bothered figuring out how to get rid of it (it would involve running some kind of stupid regex replace on every results page — if someone wants to try, I expect you could match on "pages - " and replace with "pages").

That is all.

Date: 2008-11-23 09:17 pm (UTC)
From: [identity profile] tehslugbug.livejournal.com
God damn it and here I was really hoping [[Dad car]] was a real article

Date: 2008-11-23 09:33 pm (UTC)
From: [identity profile] tgies.livejournal.com
{{sofixit}}

Date: 2008-11-23 09:57 pm (UTC)
From: [identity profile] jhskulk.livejournal.com
Yeah I was very disappointed

Date: 2008-11-24 09:01 am (UTC)

Date: 2008-11-25 04:56 am (UTC)
From: [identity profile] vxo.livejournal.com
Dad cars have fake wood. Lots of fake wood.

Date: 2008-11-23 11:04 pm (UTC)
From: [identity profile] jhskulk.livejournal.com
Alternate solution: Use google.ca instead. It's basically the same as google.com, and doesn't have these stupid buttons.

Date: 2008-11-23 11:40 pm (UTC)
From: [identity profile] tgies.livejournal.com
yes it does

Image

you are probably just not logged in or something
Edited Date: 2008-11-23 11:46 pm (UTC)

Date: 2008-11-24 12:44 am (UTC)
From: [identity profile] jhskulk.livejournal.com
weird

I just went to Google.com logged in and it wasn't there? but then it was. Why doesn't Google make up its mind

Date: 2008-11-24 12:51 am (UTC)
From: [identity profile] tgies.livejournal.com
it does disappear sometimes, i think they are still getting it sorted out

Date: 2008-11-23 11:10 pm (UTC)
From: [identity profile] flamingspinach.livejournal.com
Maybe you knew this but there's a script someone made which hides/unhides it instead of just removing it from the DOM. Don't know if that has any disadvantage or advantage compared to your script. But it still leaves the "-" as well.

Date: 2008-11-23 11:39 pm (UTC)
From: [identity profile] tgies.livejournal.com
oh thanks

i don't think that's a good approach, though. let's add more shit to the document and set a ton of pref bits and stuff to get rid of a few things.

Date: 2008-11-24 12:04 am (UTC)
From: [identity profile] flamingspinach.livejournal.com
OK, then there's also this one, which also just hides it, but is apparently compatible with Opera (presumably because it doesn't use XPath).

Date: 2008-11-24 12:15 am (UTC)
From: [identity profile] tgies.livejournal.com
oh opera doesn't have xpath

wooooooooooow

Date: 2008-11-24 12:25 am (UTC)
From: [identity profile] flamingspinach.livejournal.com
Oh apparently they added support in Opera 9 with some caveats.

Date: 2008-11-24 12:52 am (UTC)
From: [identity profile] tgies.livejournal.com
xpath 1.0 is completely different from what people mean when they say "xpath" though

Date: 2008-11-24 12:50 am (UTC)
From: [identity profile] craphazzard.livejournal.com
I just started with javascript and wrote a really uninspiring userscript for forcing youtube to be highquality.

and yeah little button things can goto hell.

Date: 2008-11-24 12:52 am (UTC)
From: [identity profile] tgies.livejournal.com
i wrote the same one :hi5:

Date: 2008-11-24 01:08 am (UTC)

Date: 2008-11-24 02:38 am (UTC)
From: [identity profile] anti-esque.livejournal.com
hahaha DAD CAR

sounds like something directly out of Tim & Eric Awesome Show Great Job

they have an ongoing joke about dads and dad-items
(deleted comment)

Date: 2008-11-25 05:24 am (UTC)
From: [identity profile] tgies.livejournal.com
I do not like to look at them. Personal preference. They break up a layout I am very accustomed to, are of no use to me, and add a whole bunch of JavaScript event listeners and crap I'd rather be rid of.

Profile

tgies: (Default)
tgies

September 2016

S M T W T F S
    123
45 678910
11121314151617
18192021222324
252627282930 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Apr. 29th, 2026 09:27 pm
Powered by Dreamwidth Studios