Giter Club home page Giter Club logo

hush's Introduction

Hush

Block nags to accept cookies and privacy invasive tracking in Safari




I’d recommend Hush to anyone who uses Safari

– John Gruber, Daring Fireball 23 January 2021

Hush is private, free and fast – read more on the website.

Download

iOS

Requires iOS 14 or later.

macOS

Requires macOS 11 or later. Direct download.

Screenshots

Features

Private

Unlike some blockers, Hush has absolutely no access to your browser habits or passwords. Nor does it track behavior or collect crash reports - nothing leaves your device.

Free

Everything is free of charge. Forever. No in-app purchases, no nonsense. However, any help towards covering the yearly Apple Developer fee is greatly appreciated.

Fast

The app is primarily a host of rules that integrates with Safari in a native, lightweight way, making the blocking efficient and fast.

Simple

It's as easy as downloading the app and enabling it in Safari settings â­ą Content Blockers. No configuration or maintenance needed.

Open Source

The source code is published under the permissive MIT license.

Modern

Hush is written in Apple's latest programming paradigm Swift UI and has native support for M1 processors.

Tiny

The app download clocks in at less than half a megabyte.

FAQ

Does Hush accept or deny permission to site cookies?

Neither! Hush will block specific scripts and elements on the website, but can't and won't interact with the website itself and thus won't click on any buttons. According to GDPR laws the user needs to explicitly consent to non-essential cookies and tracking.

Can't websites still use cookies/tracking without my consent?

Absolutely, being compliant and respecting your choices is up to the website owners. It's possible to block all cookies, but that also breaks a lot of websites. I personally use incognito mode so I don't have to trust website owners' good intents and implementations, but that means they constantly "forget" my cookie choices. Ergo Hush.

Does it block ads?

Hush doesn't block ads on purpose. Nobody wants to read nor display cookie notices. But ads – however annoying – might be crucial for makers and businesses on the internet and I don't want to steal their lunch.

Why does website X display nags with Hush enabled?

On some sites it's not possible to block/hide cookie notices or tracking consent screens without also breaking the site. Other sites have obfuscations in place to prevent blocking. Regardless, you may open an issue on GitHub or fill in a form to report it.

Why does website X break with Hush enabled?

First ensure that it's actually Hush breaking it by disabling it in settings and reloading the page. If it works after this, please report it by opening an issue.

Building from source

To build the app in Xcode, you need to have deno installed first:

brew install deno
xcode-select --install

Contributing

Tests

Run blocklist unit tests with:

make test_unit

Run UI tests with:

make test_ui

Blocklist

Compile blocklist only with (part of Xcode build):

make blocklist

License

Hush: MIT License. © Joel Arvidsson 2020-present

Fanboy List: CC BY 3.0. © Rick Petnel and contributors 2005

hush's People

Contributors

daniel-lundin avatar dbarrosop avatar lukefernandez avatar oblador avatar rosston avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hush's Issues

Feature request: ability to block specific elements on specific sites

Hello,

This isn't an issue per se, but i think it would be great to have the option to block specific elements (ie: like ublock/adblock allows you to pick out elements to be blocked) on specific sites.

I don't know if this is possible or planned for the future but i think it would be a great addition to this :)

.overlay is display:none on a popular bank (ng app)

I've been debugging another issue I've noticed, which have happened with me while using a bank web app built with Angular. Since it's behind auth, I can't really share the direct link, but here's what I found blocking the important modal, and it seems really generic as .overlay class is a very common name for functionally important elements...

See screenshot from dev tools:

image

google’s own cookies popup not blocked

Google’s own popup asking to accept cookies from a norwegian ip address and norwegian system language on ios 14.1 and macOS 11.1 presents a popup asking to accept googles cookies.

same with techcrunch.com presenting a popup about cookies written in norwegian language.

Also, the producthunt page you're linking to on Hush's own webpage still shows the "sign up for our newsletter" popup, with Hush enabled.

im guessing its a localization issues and the rules in the app doesnt account for other system languages / webpage languages than american english.

other than that, thank your making this app.

link that shows googles popup:
https://www.google.no/search?q=test&ie=UTF-8&oe=UTF-8&hl=nb-no&client=safari

ProductHunt popup
https://www.producthunt.com/posts/hush-for-safari?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-hush-for-safari

Loading a discussion thread breaks on FlyerTalk (Internet Brands)

When Hush is enabled, site is working otherwise fine but when you try to open the single discussion thread (read the actual discussion, not just browsing the list of discussions) then the thread is loaded as completely white screen (it contains HTML code still).

Disabling Hush will return the site to working state.

Safari is giving following hint in the Web Inspector view:

Content blocker prevented frame displaying https://www.flyertalk.com/forum/finnair-finnair-plus/2014335-experiences-ay-flights-during-covid-19-a-63.html from loading a resource from https://gdpr.internetbrands.com/v2/ibccm.min.js

App hangs on 14.1

Not sure if Hush requires a new version of iOS, but on 14.1 it just hangs on the splash screen. Anything I can try to resolve this?

EDIT: Fixed by upgrading to 14.3 - trying to maintain jailbreakability ;) However the minimum iOS version should probably be bumped up in the App Store listing.

App doesn’t open

The app doesn’t open, it only shows the logo, and I don’t have an option to enable content blockers in my settings. The App Store says you need iOS version 14 or higher. My phone is on iOS 14 ;-;

Needs to work on older versions of macOS and iOS

This would be much more useful if it worked at least as far back as macOS 10.12, since I can't think of anything that would prevent that, and also iOS 9 or higher. Not everyone has a brand new Mac or can upgrade their current one to macOS 11 or higher.

Makes k-rauta.se unusable

When visiting https://www.k-rauta.se hush seems to block too much because it makes the site unusable. Unable to choose which store to visit for purchases and can't dismiss the "click & collect" banner at the top.

macOS UI mentions iOS "Settings"

When not enabled, the Hush window on macOS says:

Select Extensions in Settings

This is an iOS-ism. Safari on macOS has "Preferences".

Thanks for making Hush!

Hush 1.0 (7)

"Hamburger" menu is being blocked on few websites (generic Elementor dialogs blocked)

Hey,

Thanks a lot for a great app! I'll try to contribute myself with code, once have time learning how the extension works, but meanwhile hope this report will be useful. I've installed the extension yesterday, and noticed on 2 websites, that a commonly used pattern with hidden menu (opened with a hamburger icon button) is not working on mobile devices (narrow screen).

I could reproduce it both on desktop and iOS Safari. I found that the extension is injecting a big CSS selector with somehow forced highest specificity, and in this case, it's .elementor-popup-modal.dialog-widget selector that's blocking the mobile menu. It looks like the selector is too generic, and blocks some standard classnames from a library component (actually a wordpress site builder), that could be used for virtually any dialogs, not only cookies.

One of the websites I've noticed this on is https://protosmanagement.com (the other website is behind auth).

Hope you will consider removing this generic popup selector, as I imagine it will block a variety of functional popups across many wordpress websites.

Cosmetic issue on iPhone 8

Text is cut off on iPhone 8 screen.

IMG_7429

The above image is with Text Size setting is one notch below the center, Display Zoom is Standard. If you change either of these, it get much worse. :)

IMG_7430

other browser ?

It'w be very interesting to port this amazing module on other browser like Firefox ;)

But does Hush accept or denies permission to site cookies?

Just to be sure: so by not ever seeing the cookie permissions dialog, what am I de facto communicating:

  • not accepting?
  • accepting default values? (The default state for “legitimate interest” cookies in those alerts is usually “yes”)
  • accepting all?

Won't install on MacOS 10.11

Hi,

Since Hush says that it is compatible with MacOS 10.11, I tried installing it on an old iMac running 10.11.6.

The Mac App Store downloads it, I click "Install", and it says:

We could not complete your purchase.

Hush can't be installed on "iMacInternal" because OS X version 11 or later is required"

Is there a work-around?

Thanks.

Support for Mojave?

Is support for older versions of MacOS possible? Currently running Mojave still so I can keep 32bit support.

List of websites

I submitted some of these through the Google form but I found some more and I figured I might as well open an issue.

www.google.com
youtube.com
www.spotify.com
www.spiegel.de (breaks)
www.nrc.nl (breaks)
www.telegraaf.nl
tweakers.net
bol.com
www.coolblue.nl (breaks)
picnic.app
postnl.nl

It’s a shame not all websites use the same script name for cookie consent pop-ups so that they could be blocked universally. I did found it odd that Google and YouTube of all sites don’t work đŸ€”

Feature: Report website through share sheet in Safari

I came up with this idea whilst browsing NBC which didn’t work by Hush. It’s be great if we could report pages through the share sheet. That way it could be formatted in a way that fits you, oblador.

Thanks for a great app!

This blocks in-page notifications from UIkit

We use the UI framework UIkit (https://getuikit.com), specifically version 2.

This framework has a notify() tool that shows a notification, that has nothing to do with cookies or privacy notification - in fact we use this for displaying responses to user events (such as showing a notification when an AJAX request that otherwise makes no change to the page, but does change some state on the server).

(I can't really show you on our site, because it needs a login).

Oh, you can see it on https://getuikit.com/v2/docs/notify.html though.

Support for macOS Catalina

The MAS won't let me download this. Any chance you could provide support for macOS 10.15? At least 10.15.7? Or is this mostly a UIKit app?

Super hard to read White on Yellow text.

Hey there.

Just installed Hush because @gruber. Looking forward to using it, thanks.

Found the White text on Yellow background super hard to read though.

Running iPadOS 14.4 on 2020 iPad Pro in dark mode.

Cheers

Michael
AFF1A31B-FA68-485E-AD74-1CC7B080E226

Instructions slightly *too* simple

Content Blockers appears more than once in Settings -> Safari. Once in the General section and again in the Settings For Websites section.

The first thing I did was skim quickly down to the latter, the first one I saw, but the wrong one!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.