tomer8007 / whatsapp-web-incognito

A Chrome extension that disables read receipts and presence updates on WhatsApp Web
MIT License
313 stars 74 forks source link

[Request] Would it be possible to port the extension to Safari? #30

Closed mendeel closed 3 years ago

mendeel commented 3 years ago

Hello, guys! I love your work and the extension is amazing, it makes me able to be free to read the groups from work and not worry hahaha

As the title says, I have no idea about the current state of Safari Extensions development, APIs and stuff and, as such, I'd kindly like to ask you: do you think it would be possible to port this extension to Safari for macOS?

Thanks for your attention and have a nice week :)

tomer8007 commented 3 years ago

Hmm, I'm not sure what's missing. @thomasqueirozb Do you know Safari extensions?

mendeel commented 3 years ago

Just found out that latest Safari v14 supports Web Extensions and you can convert some extensions using Xcode: https://developer.apple.com/documentation/safariservices/safari_web_extensions/converting_a_web_extension_for_safari

tomer8007 commented 3 years ago

I wonder how different that would look from the original extension.

mendeel commented 3 years ago

I just tried following the tutorial in the link above and it actually seems to be working: WAIncognito Safari

thomasqueirozb commented 3 years ago

Hmm, I'm not sure what's missing. @thomasqueirozb Do you know Safari extensions?

I'm not a mac user but since it was mentioned that safari has Web Extension support the only thing I see that could go wrong is this

https://github.com/tomer8007/whatsapp-web-incognito/blob/1e9c17f8d0acb15ba96012d74453208ad34bd075/styles.css#L20-L24

Since the css references a moz-extension:// url and is dependent of -moz-appearance:none.

This was made to work with Firefox only and overrides the previously defined chrome-extension:// url https://github.com/tomer8007/whatsapp-web-incognito/blob/1e9c17f8d0acb15ba96012d74453208ad34bd075/styles.css#L11

Other than this I'm not sure I have much to offer on this matter

tomer8007 commented 3 years ago

This also remainds me of dark theme support...

eduardow9 commented 1 year ago

I just tried following the tutorial in the link above and it actually seems to be working: WAIncognito Safari

Hi mendell! Could you please help me with a tutorial on how to install this extension in Safari? I'm not a programmer, but I have an average knowledge. Thank you very much if you can help me.