rignaneseleo / SlimSocial-for-Facebook

Light version of Facebook. Light both in the weight and in the use.
GNU General Public License v2.0
378 stars 74 forks source link

mbasic new messages #67

Closed dannycolin closed 3 years ago

dannycolin commented 6 years ago

Since mbasic doesn't refresh a conversation (thread) a good workaround could be to force refreshing the page every X seconds or minutes. @rignaneseleo What do you think about that?

rignaneseleo commented 6 years ago

This is not a bad idea but there are some problems to handle. One that came now in my mind is when you are scolling your messages to read an old one: if it refreshes every 20 seconds, you won't be able to do that.

dannycolin commented 6 years ago

One that came now in my mind is when you are scolling your messages to read an old one: if it refreshes every 20 seconds, you won't be able to do that.

Would it be possible (like browser extensions) to inject a JS script in the page and detect if a user scrollback?

SteveParson commented 6 years ago

@dannycolin I'm interested in your idea of injecting a JS script, but I'm not entirely sure what you mean. Can you clarify it further?

dannycolin commented 6 years ago

@stevep1983 sorry for the late response.

I meant that we can use the same technique that @rignaneseleo use with the Dark theme. He loaded a custom CSS file that change the colors of the FB page.

SteveParson commented 6 years ago

Thanks for your reply. I am missing something with respect to your proposal. Do you mean live updates of a thread that is receiving messages as you are viewing it?

On Mon, May 21, 2018, 10:12 AM Danny Colin notifications@github.com wrote:

@stevep1983 https://github.com/stevep1983 sorry for the late response.

I meant that we can use the same technique that @rignaneseleo https://github.com/rignaneseleo use with the Dark theme. He loaded a custom CSS file that change the colors of the FB page.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rignaneseleo/SlimSocial-for-Facebook/issues/67#issuecomment-390702456, or mute the thread https://github.com/notifications/unsubscribe-auth/ATZ470zKRSf4LmZyaOT4rfo463-E9HaYks5t0ud4gaJpZM4Tuukv .

dannycolin commented 6 years ago

Do you mean live updates of a thread that is receiving messages as you are viewing it?

Yes. My proposal was to refresh the thread automatically instead of using the refresh button.

rignaneseleo commented 5 years ago

Since messages are still working in the touch.facebook.com domain, your idea is not necessary now. Maybe in the future! :)

dannycolin commented 5 years ago

Wasn't aware of touch.facebook.com. Thanks for the link. Does it auto-refresh when you receive a msg?