uBlacklist – Block specific sites from appearing in Google search results
github.com
github.com
To block results from specific domains on Google or DDG:
google.*##.g:has(a[href*="thetopsites.com"])
duckduckgo.*##.results > div:has(a[href*="thetopsites.com"])
And it's even possible to target an element's text content with a `:has-text(/regex/)` selector: google.*##.g:has(*:has-text(/bye topic of noninterest/i))
duckduckgo.*##.results > div:has(*:has-text(/bye topic of noninterest/i))
As a bonus, here's how to get rid of Medium's obnoxious cookie notification across all domains: *##body > div > div:has(*:has-text(/To make Medium work.*Privacy Policy.*Cookie Policy/i))A good UI should be self-explanatory, this is not even close.
When I spot any domain which has been squatted by SEO and useless comparison-alike websites I immediately block it. This has brought up the quality of results IMMENSELY.
I'm blocking domains on a _daily_ basis.
I suppose eventually Google's search results in many countries/jurisdictions (such as the EU, USA, etc) will be regulated like a public utility.
As a result, I expect Google will be forced to allow users to ban search results from particular URLs with a single click.
Should be possible to crowd source this and publish the result as a list that’s consumed by uBlock origin…
I've found one other immediate and huge improvement to my mood was to remove all graphical elements from the news sites that I visit.
I'd be happy to create you some ready-made filters for any specific sites or other types of results that you'd like to get rid of though, just let me know!
It might even be enough to stick it on github or gitlab and start accepting pull requests against a starter list.
I suppose a simple bash script triggered with a hotkey could essentially circumvent your need to install uBlacklist.
I'm imagining the steps as follows...
1. Select the text of the URL you want uBlock Origin to eliminate (such as, AWebSiteIDoNotLike.com) from the Google search results you see.
2. Press your hotkey (say, Ctrl+F5 or Alt+F9).
3. The script appends the necessary text to my-ublock-static-filters_date_goes_here.txt
google.*###search > div > div > div:has(span:has-text(/People also ask/))Regular search:
google.*##.g:has(a[href*="pinterest.com"])
Image search: google.*##.isv-r:has-text(pinterest.)
Edit: Simplified the image search variant a bit.Also you can give more importance to some website in the search result, create your own search template.
It's so feature rich, and to make things easier they provide and extension to set your default search engine for you.
Does Kagi worth $120 per year for me ? Yes, yes it does, it's barely nothing compared to the value of having proper search result. I checked ... I make more than 50 searches per day...
$120 yearly is nothing compared to other expenses that I have like my broadband internet around $70 per month for it...
Features are nice, but for a search engine results are everything.
When I first switched from Google to DDG I found myself using g! all the time as I wasnt happy with the results, especially local such as finding a specific shop in my area etc. I dont recall using g! with Kagi, and when I was bored and compared the Kagi search result with Google to see if I was missing out, it turned to be the other way - I realised I was actually getting a much wider spectrum of results. I discovered many cool websites and blogs I never knew excited thanks to it or rather thanks to the fact that they show you what’s relevant to your search unlike Google that shows what they think is.
lol, I did the exact same thing! After a month of that, I just went back to Google :(. Google's results are just so damn good.
At least Google Search has started blocking itself with a consent wall on new devices. It's the best feature from them in a while, at least for me. I wish their tracking stuff was opt in too.
I didnt mean like places to eat near me etc. sorry. Not something I really do to be honest.
It's slower, sometimes painfully so (maybe due to downtime? Understandable but not fun). I really miss Google's cards; for example, finding opening hours for a local business is immediate in Google, but requires opening another link which may not even be correct in Kagi. When I'm searching errors or code examples, sometimes Kagi embeds a useless snippet with little relevance. Sometimes it has a bizarre 'memory effect' where one or two of the results will be ghosts from an earlier search but completely unrelated to the current search term.
It's not perfect. I'm suspicious of people pretending otherwise.
Speed is on average faster than Google for most users, so if that is not the case for you please let us know via https://kagifeedback.org
And if there is any kind of bug, glitch or issue please also use kagifeedback.org
> It's not perfect. I'm suspicious of people pretending otherwise.
If is far from perfect. I would say we are 30% through what our vision for the product looks like. I can totally understand how it does not meet your expectation right now.
The beauty of our model is that people pay with their wallets, not their data, and the momemt the product sucks, we lose a customer (or don't get one like in your case). Incentives are perfectly aligned.
The fact that barely a week afer the public beta launch, over a thousand people already pay for Kagi, while still being in beta and (very) rough around the edges, is the greatest motivation we can have to serve our user community well and continuing improving the product in the future.
Most opinions come from an irrational hate towards Google. (It's the nerd equivalent to be edgy/hip among peers by hating something popular).
Then there is sunk cost fallacy, like I pay $10, it must be good. It's not Google, it must be good (never mind that the founders of all these companies are all cut from the same silicon valley cloth and are equally good/evil/shades of grey)
Finally, it's the illusion of "Feel Good factors" -- Privacy, David vs Goliath
Kagi also goes one step further and allows you to "pin" sites to the top. For example, I've got MDN pinned, so whenever I'm searching for web stuff they're the top result, even if there's an SEO'd blog post that normally would have come first.
Abandoning Google is a huge motivator for me, but this feature set is why it's my primary search engine. Google tries to guess what I want and just ends up feeding me the same garbage it feeds everyone else. Kagi allows me to correct it when it guesses wrong. That makes all the difference.
At the moment, I'm either overpaying (because I perform less than $10 worth of queries per month), or the company is losing money on me. And with the existence of the free tier, the business model can only work if most paying users are effectively overcharged significantly. Right now they are operating at a loss in both tiers, if their pricing page is to be believed.
One would hope that costs amortize better with more users (e.g. scraping is pretty much fixed cost regardless of the number of users, but maybe that's already negligible) to push the price low enough for pay-per-use to not feel spendy. (When did you last think about how much one toilet flush costs you?)
The company is aiming to have many users that everyone is overpaying with their $10, so that they make money, thanks to the reduced marginal cost. And the company hopes that the $10 is low enough that enough everyone knows they are overpaying they are still willing.
Correction: they're saying 80 searches cost them ~1$.
>Why does Kagi cost $10/month?
>Our proposed price is dictated by the fact that search has a non zero cost. With other search engines, advertisers cover this cost. But it costs us about $1 to process 80 searches.
>Someone searching 8 times a day would perform about 240 searches a month, costing us $3. An average Kagi beta user is actually searching about 30 times a day. At $10/month, the price does not even cover our cost for average use, and we are basically betting that average use will go down a bit with time because during beta people may be searching more than normal due to testing etc.
>Our goal is to find the minimum price at which we can sustain the business. If it turns out that we have more room we will decrease it. But it can also be that we may need to increase it.
>The free plan will be limited to 50 searches a month (and this too has to be paid by paying customers which makes the above math even harder).
8,000 searches costing a dollar, in actual resource use? OK, maybe. Still seems a little high, but maybe. 80? Are they paying someone to manually look things up for you?
You don’t have to answer, but how do you have such a high per search price?
I'd challenge that the cost per search is actually very low. For just 1.25 cents, you can search the entire world wide web with any query, find what you need with no distractions and all that in just 500ms. The value of that search outcome for you can be $10 or even $100. It is probably the most amazing return on investment existing in the world today. Imagine for a second that Google and other search engine didn't exist, and someone offered you this deal today. I'd be you'd take it in a hearbeat. Heck you may even consider paying $1 per search or even $5. So the value is there.
But today this value is anchored in the price of 'free' search. So instead $1 per search sounding like a good deal, we struggle to accept that 1.25 cents is.
We hope that for a portion of people that 1.25 cents per search is going to sound like an amazing deal, especially as this is the only search relationship where the incentives of the information provider are aligned with the incentives of the information consumer.
I don't feel 1 cents per search is a good deal at all, while -logically- it probably will give me more than 1 cent of value out of it. People never thought about how much the knowledge they acquired is worth, most of the time they share it free of charge, people like to share, somes will even pay hosting to share knowledge !
That's why I don't believe in the pay-as-you-go I'm fine with a subscription, I don't pay to have more value out of my search, but because: 1. I dont like ads, I want to support an ad free alternative.
2. I pay for my privacy.
3. Better results will mean less time lost on searching, less frustration.
I never accounted the value I will get out of better search, I looked at the price and felt that I was a bit overpriced for my taste, but I want an ad-free, pro privacy internet.
Which is probably why search quality is going down. They're rewriting your query to a more common way of saying the same thing, at least according to Google.
Date-search count-generated cost
>Jun 10, 2022 90 $1.12
They show conflicting numbers.
Sure, but this whole adventure won't last very long if the company loses money even on paying customers. If your usage costs them about $30 a month but you only pay $10, who will pay the remaining $20? Someone has to finance your access to knowledge in the end...
How much does it cost to have a suboptimal search experience 50-200 times every day? Saving 5 seconds (on average) per search, that's something like $10 per day in savings (provided you search during work hours).
Nevermind. Looks like you have to have a subscription to see usage stats.
As much as it bothers me, I'd prefer to work around the first option.
I understand they need it for customization and monetization, but search queries are too private to ask for trust.
In our survey 90% of users told us they preffered fixed fee over pay per use and feedback we got was that pay per use would make them anxious to use search. Also it adds additional friction in the signup flow (where the idea of paid search is already a novelty and then pay per search?) and so we decided to go with a fixed monthly price.
Sweet spot would be $15-$20/month but this way we would not have enough users, and less users equals leas feedback to build product. Our pricing is subject to a change, we had to launch with a price and we’ve chosen one that was good compromise.
We are likely to introduce pay per use first in our enterprise plan. Pricing Kagi is an extremely difficult intelectual challenege. (Kagi founder here)
I would bet that my usage most months would not exceed $5, and I think many other prospective users would be willing to gamble on that as well. Food for thought.
* Say 1 search is 5 cents. So unless a person searched less than 200 times a month, the pay-per-search is cheaper....
* Or why not adopt the model where you pay 5 cents per search _for the first 200 searched_ and nothing afterwards (so the ceiling is $10 per month)?
Relevant Tweet: https://twitter.com/janhodl3/status/1535530318987509761
Let us know.
No thank you
I see people complain about a price, but I suspect also they complain about being tracked by google. I guess you can pick your poison. I think I'd rather pay a few bucks a month at this point, but to each his own.
I feel like an evangelist for this script as I seem to mention it on an almost monthly basis here. But, as the saying goes "No connection. Just a happy user."
PS: as I said last time 'uBlacklist' was promoted here; whatever the merits of your product, trying to subconsciously associate yourself with the excellent 'uBlock Origin', by using a similar naming convention, is very shady.
PPS: reading the rest of the comments, I'm amazed at the number of people saying they've signed up for this, or intend to. $10 a month for something you could have for free --and we're supposed to be in recessionary times. It's true what they say about 'a fool and his money...'
I’m a paying Kagi user now, and this isn’t my first comment gushing over that product. :)
$10/mo for something used many times every day is a drop in the bucket for many. It’s not true for all, but for many.
$10 for something that is minimal value is the path to ruin, especially when done by many people.
There’s opportunity cost (ie, what if I donated to charity, etc) but mainly I want to support high value products with some link to costs. All these “just the price of coffee” 4-hour-work-week type things are an unhealthy way of looking at the world.
I like open source so I can stop worrying about stuff that has near zero marginal costs.
I hate to think of a future where everything I enjoy or use is “just $10 every month.”
FWIW I was a beta tester, and (mostly) enjoyed my experience, but having this as a demo of Kagi’s abilities on your splash page does not inspire confidence in the product IMO.
Here is #1 result on Google: https://www.techradar.com/news/mobile-computing/laptops/best...
Here is #1 result on Kagi: https://marco.org/2017/11/14/best-laptop-ever
Kagi's result showcases our philosophy of preferring non-commercial content to commercial/SEO/affiliate content. It may not be for everyone. If the users want that they can find the same link as Google's #1 in a section called listicles.
We show this example on purpose so that we manage expectations on what you will get Kagi from the very first interaction.
Guess I need to just write "finding stuff" or something trite and get on with it.
(don't ask me open-ended questions as part of a signup process unless you want me to brain-lock and never finish the form :-) Though I just checked and it looks like the signup flow's very different and more normal now, so that's good)
https://kagi.com/faq#Where-are-your-results-coming-from
Of course, I'm biased as I was a beta tester and now a subscriber, hoping they succeed.
http://len.falken.directory/web/overall-disappointed-in-kagi...
Expresses it a bit better...
Also showing the date on reddit threads was either broken or not there.
https://github.com/arosh/ublacklist-stackoverflow-translatio... https://github.com/arosh/ublacklist-github-translation
Anyone who has tried to buy something obscure locally will probably find this useful. There are hundreds of fake webstores that pretend to be in different countries (using national TLDs and machine translation), then just redirect you to AliExpress. I have a script that can recognise them and add them to this blocklist.
It's really nice to never see a link to Facebook, Twitter, etc anywhere on the internet. It's almost like they don't exist. It causes a few oddities here and there (The text matching is problematic but it's optional, the attribute value matching works really well), but I've never missed anything important. I feel like if everyone had this power everywhere, it would serve as incentive for sites to not suck.
It took some fun javascript APIs I've never had to use before (like MutationObserver and TreeWalker) to get it to work right and efficiently, especially on sites that load content via JS (like Google).
Source: https://github.com/7w0/ssure (the interesting bits are in content.js)
Addon: https://addons.mozilla.org/en-US/firefox/addon/ssure/
Edit. And quora
https://github.com/digitalblossom/alternative-frontends#quor...
/.pinterest.\../
/.dreamstime.\../
/.depositphotos.\../
/.gettyimages.\../
and whatever else you (don't) want.
Or get rid of specific TLDs in your search results.
/.\.(porn|casino|xxx|zone)\/(.*)/
I made a lot of use of uBlacklist; but then I found Huawei's petalsearch.com, where pretty much none of the crap that I deleted appears in the first place.
uBlacklist is really just a band-aid solution for a garbage search engine; it doesn't address the root cause.
But I just tried the search terms "tiananmen square massacre" in PetalSearch. It comes up with the Wikipedia page on the subject, just like Google does.
The second result in PetalSearch points to the rationalwiki, whose text begins "The Tiananmen Square Massacre was a ruthless crackdown on a pro-democracy protest ..."; and that is quoted in the search result.
The next results after that are news items about Chinese censorship:
"China censors tank-shaped Viennetta ice cream on anniversary of Tiananmen Square massacre"
"China Censors Top Livestreamer, Fans Question Potential Link To Tiananmen Square Massacre Reference"
and others.
Seems all right to me.
Of course, I'm not able to repeat this test from within China; but how would Google and others fare there?
Before Quora we had yahoo answer and before that surely something else.
As soon as they get mainstream the quality of question and answer goes down. Those systems only work with well defined constraints either on the subject of the question or the validation of the expertise of the people answering.
All of those platform just open the valve with close to no moderation. We can see the same with Reddit and big sub Reddit.
Mind boggling that Google hasn’t penalised them since years ago.
I still remember the good old days of Quora; it was a nice era but it's gone...
I’d argue it’s good community policing with a carefully Maintained incentive structure.
!mdn Array sort
works like a charm, there's also !rust, !cpp, etcConversely, I have no idea why Pinterest plagues everything. Does it manage to trick many people into clicking for a login form?
Google lets them poison the results.
I use https://letsblock.it/filters to automatically generate lists of sites for the different search engines. It's been working wonderfully.
This extension asks permissions to "Access for my data for google.*" and optionally "Access my data for all websites". However, I don't want to give it access to the data for all websites. It is insane.
I want to have stricter permission control. For example, since I only use google and duckduckgo, I want to give this extension access for the data for google and duckduckgo.
If anyone has tips for addressing this situation I'd be much obliged.
To get full results, you have to use "-site" but sadly Google limits queries to 32 words which means for a 5 word query, you can only "blacklist" up to 27 sites
Maybe we need a enable/disable toggle in uBlocklist to cater to the above "modes" of search.
I've been using "Personal Blocklist(not by Google)" for Google search and is pretty good too:
https://chrome.google.com/webstore/detail/personal-blocklist...
What advantages does this have over Google Hit Hider?
I have geeksforgeeks blocked because that site is a complete pile of garbage
uBlacklist: Blocks specific sites from appearing in Google search results - https://news.ycombinator.com/item?id=29546433 - Dec 2021 (294 comments)
Yeah I know you can do it with uBlock but having the button is much simpler.