How does Whatsapp keep me logged in [closed] - javascript

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 days ago.
Improve this question
I'm experimenting by transfering cookies from one browser to another and I was surprised that all accounts I'm logged in to are also logged in in the new browser. My Whatsapp session however doesn't get transfered, I looked at the Whatsapp cookies and there were none of them.
How does Whatsapp keep me logged in? And is there a way to transfer one Whatsapp session to another browser?

WhatsApp web does not use cookies Instead, it uses offline website data.
For more info:
https://admx.help/?Category=Firefox&Policy=Mozilla.Policies.Firefox::H_SanitizeOnShutdown_OfflineApps
You might be able to transfer the data if you can find it.

Related

Can I share access to a website without sharing my credentials? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 days ago.
Improve this question
I have an account in a website, i want to share it with others without giving them the credentials.
What I tried so far:
I built a chrome extension that connects to my server get the credentials then fill the login form and connect to the website, but that's just like giving them the password.
Using a PHP Web scraper library, I can open the website in my server log in and send back the HTML to the user, when the user clicks on an element in the page I can collect its css selector and send it to the server then the scraper can find and click on that element then send back the result HTML, this will work but it'll never be the same as the real website experience.
Are there any other approaches I should consider?

Save draft after page reload without registration via js or php [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
In my site, user can write a text. I want to make that, when the user reloads the page, the draft will appear. Without any registration.
I think, using ip as id is bad idea, because it can be library wifi network, for example, and as far as I understand, all connected devices would have the same ip.
What is the best way to unify client for that purposes?
You should use cookies if you want it to be saved for a long time
PHP:
setcookie('text_cookie', 'My text', time() + 3600);//To save for an hour
echo $_COOKIE['text_cookie'];//To show
use javascript keyevent and localstorage

How to send a push notification from web to android using firebase? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I want to send a push notification from the web app to the android mobile app users using firebase.
Just for your information if you want to send notification for testing purpose then you can use FCM console which provides you a way to pass data payload.
But in case your need you can have your own server too where you can pass your own data and notification payload
Refer following URL for more information
https://firebase.google.com/docs/cloud-messaging/http-server-ref

How can I get my notifications from Facebook? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'd like to create an app to filter my notifications from Facebook. For example I'd like to get all notifications about someone commenting in conversations I also took part on given Facebook group.
As #lushn pointed out below, Facebook removed the ability to access notifications in their Graph API.
Now I wonder, is there a better (and more official) way to fetch notifications from Facebook than to pose as a browser and parse HTML (for that I'd also need a proxy written in some server language, due to CORS)?
Access to notifications is not possible anymore, the required permission and the endpoint for this has been removed with v2.4 of the Graph API: https://developers.facebook.com/docs/apps/changelog#v2_4

Authentication for a web page via browser [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am working on a Laravel project right now. I have a route www.website.com/auth/register. All I want is that when a hits this page, he should be asked for some credentials. If he inputs incorrect credentials, then he should not be able to see the registration page.
I have seen some web pages ask for authentication before we can see them. How is that achieved? I suppose those credentials are handled on the client side by the browser. Please help.
I think you're talking about the BASIC Authentication method, which exchanges credentials in plain text and is configured at the Web Server level.
Also, see this: https://security.stackexchange.com/questions/988/is-basic-auth-secure-if-done-over-https
http://laravel.com/docs/4.2/security#http-basic-authentication

Categories

Resources