GithubHelp home page GithubHelp logo

oblador / hush Goto Github PK

View Code? Open in Web Editor NEW
3.1K 43.0 74.0 1.33 MB

đŸ€« Noiseless Browsing – Content Blocker for Safari

Home Page: https://oblador.github.io/hush/

License: MIT License

Makefile 3.32% Swift 45.78% JavaScript 50.90%
content-blocker safari-content-blocker safari-extension swiftui swiftui-example ios-app macos-app

hush's Introduction

Hej, I'm Joel! 👋

My repos demand more time than I have, so I have to be ruthless in my prioritization. Send me a DM on Twitter if you want to help out.

Click for vanity statistics

Joel's GitHub stats Joel's trophies

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 :)

Support for Mojave?

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

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

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

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!

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.

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)

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!

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.

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 đŸ€”

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?

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.

.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

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.

other browser ?

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

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

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?

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

"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.

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.

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 ;-;

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.