no-seen icon indicating copy to clipboard operation
no-seen copied to clipboard

Stopped working for firefox

Open tashtash69 opened this issue 1 year ago • 11 comments

Stories are now showing as viewed. Please update the extension.

tashtash69 avatar May 25 '23 22:05 tashtash69

Seems like they start using /api/graphql endpoint. In this case, checking only the URL won't be enough. 🤷🏻‍♂️ We have to cancel the request whose fb_api_req_friendly_name=PolarisAPIReelSeenMutation in the formData of the requestBody, i.e. if requestBody.formData.fb_api_req_friendly_name === 'PolarisAPIReelSeenMutation' -> cancel.

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/onBeforeRequest#details_2

cc: @diessica

dwiyatci avatar May 27 '23 02:05 dwiyatci

any updates on this?

kenarsene avatar May 30 '23 10:05 kenarsene

I developed another addons support facebook stories and instagram stories only. Reviewing on firefox addons

nhymxu avatar May 31 '23 14:05 nhymxu

Hi, my addons approved. Everyone can try here: https://addons.mozilla.org/en-US/firefox/addon/nhymxu-social-ghost/

This is open source, same idea with @dwiyatci comment above.

If something running wrong, don't hesitate to create issue. I'll check soon.

Thank you

nhymxu avatar Jun 01 '23 14:06 nhymxu

@nhymxu Great stuff, Dung! 🤩 And thanks a lot for your work and being so handy at this.

A couple of remarks (as of today):

  • While it's still working for IG/FB Stories, it doesn't work anymore for both IG Messages and FB Messenger. I haven't really looked into it myself how the read/seen receipt works there, but yeah – do you have any leads?
  • Do you think it's a good idea to also create a fork of this repo and raise a PR to contribute here, to honour the original author (@diessica )? :)

dwiyatci avatar Jun 29 '23 13:06 dwiyatci

Because I'm just using stories, so my extension only focus to this

Create PR to this repo is okay for me, not too hard.

I create new one because look like @diessica not active maintain this repo 🤣

nhymxu avatar Jun 29 '23 13:06 nhymxu

so my extension only focus to this

I'd like to create a PR to your repo to support "no-seen" for Messenger and IGD (Instagram Direct) Web as well, but I failed to figure out how the read-receipt works on both over the weekend. I believe they both pretty much have the same new mechanics; it might go along the /ajax/navigation/ request lines, but yeah. Do you have any idea? This guy @ChangJoo-Park seems to have cracked it tho 🍘 😃 https://chrome.google.com/webstore/detail/unseen-for-facebook/fgmiepijfchkhchobiopcemoajoedkkm

dwiyatci avatar Jul 03 '23 15:07 dwiyatci

so my extension only focus to this

I'd like to create a PR to your repo to support "no-seen" for Messenger and IGD (Instagram Direct) Web as well, but I failed to figure out how the read-receipt works on both over the weekend. I believe they both pretty much have the same new mechanics; it might go along the /ajax/navigation/ request lines, but yeah. Do you have any idea? This guy @ChangJoo-Park seems to have cracked it tho 🍘 😃 chrome.google.com/webstore/detail/unseen-for-facebook/fgmiepijfchkhchobiopcemoajoedkkm

Just wondering if you guys have updates on this? I tried to extract it, but the functions are obfuscated.

Edit 1: This extension works for blocking seen and typing. https://github.com/Sherly1001/tame Edit 2: With the new update from Meta, blocking seen and typing features are not working in end-to-end chats, except it's a group chat.

flame-0 avatar Mar 25 '24 05:03 flame-0

Just wondering if you guys have updates on this? I tried to extract it, but the functions is obfuscated.

Nope. 🙁 Unfortunately guy who creates that "ESUIT | Un Seen for Facebook™" Chrome extension plans to monetize his extension all along, and therefore he doesn't open-source it. 🫤 What did you try to extract? The extension build code?

Also, from the extension page:

this extension is not officially developed by Facebook™, The author is @William Chen

Not sure who he is 🤷🏻‍♂️, and seems like I tagged the wrong guy before hahah. I guess the only way to contact him is via https://www.facebook.com/esuitdev or [email protected]. Perhaps you can contact him to disclose "the trick" for this particular feature only... :D (actually, I need not to be seen more for Instagram DM tho)

dwiyatci avatar Mar 25 '24 13:03 dwiyatci

Nope. 🙁 Unfortunately guy who creates that "ESUIT | Un Seen for Facebook™" Chrome extension plans to monetize his extension all along, and therefore he doesn't open-source it. 🫤 What did you try to extract? The extension build code?

I extracted the build code, .crx. While extracting various addons and extensions some time ago, I noticed his code differs; I couldn't read it properly.

flame-0 avatar Mar 25 '24 13:03 flame-0

Tame got updated to support E2EE chats. Check it out! https://github.com/Sherly1001/tame/releases/tag/v0.3.4

cc: @Sherly1001

flame-0 avatar Jul 31 '24 09:07 flame-0

Thanks for the pointer, @flame-0! :D Actually, some 2-3 weeks ago I also tried to "decompile" that Chrome extension and fed it to the AI in order to help me understand the mechanics. I believe it all boils down to overriding the occurrences of markThreadAsRead function in the script(s) contents.

str = str.replace(
    /markThreadAsRead:function.*?{/,
    'markThreadAsRead:function(){return;'
)

I found similar thing in Sherly's commit. But then, we'd need another special trick to be able to execute the overridden scripts that have been loaded to get around the Content Security Policy (CSP) that protects the browser from running a forged script (I guess Sher also managed to figure it out somehow 😆).

All in all, unfortunately life gets in my way to put all these things together properly (classic excuse 🙄😅), but still would love to see it happen for social-ghost-ext - I'm just gonna mention https://github.com/nhymxu/social-ghost-ext/issues/4 and https://github.com/nhymxu/social-ghost-ext/issues/5 here so that this info is linked there :) cc: @nhymxu

dwiyatci avatar Jul 31 '24 10:07 dwiyatci