How to manage cookie on mobile browser? - android

How can i edit my cookies in chrome on my iOS/android device?

please clarify your question. This seems very broard.
However,
"This article applies to Chrome for Mobile.
Adjust the type of content that websites can show and the information that they can use to enhance your web experience.
Touch Chrome menu > Settings.
Touch (Advanced) Content settings.
The information below applies to all mobile devices
Block pop-ups. Prevent websites from showing additional windows automatically.
Accept cookies. Websites can store small files on your device in order to save your preferences on websites or keep you signed in. Deselect to prevent webpages from storing cookies on your mobile device.
The information below applies to Chrome for Android only.
Enable JavaScript. Many web developers use JavaScript to make their websites more interactive. Sites may function correctly only if they can run JavaScript on your mobile device.
Voice and Video calling. Allow sites with media functionality, such as video conferencing, to request access to your camera and microphone.
Google Translate. Translate pages written in other languages.
Google location settings. Allow sites with location-specific content to ask whether you want to share your location using your mobile device’s location information.
Website settings. If you want to clear location permissions or local data stored on your device for a specific site, touch this option."

For those who's still looking for an answer here is an instruction for an iPhone:
You can't see cookie data on the phone itself, but if you activate
Settings > Safari > Advanced > Web Inspector you can connect the
iPhone to an Apple computer with a cable and open Safari. Activate the
Develop menu in Preferences > Advanced > Show Develop menu in menu bar
Now you can open a page on the iPhone and then select Develop >
your_phone > the_page on the computer to see an inspector for the page
on the phone. The second icon at the top is for storage and will show
cookies for the page you show on the phone.
Source: https://apple.stackexchange.com/a/75186

If you are still looking, I made a Firefox extension called Cookie-Editor that also works on Android phones. It is similar to EditThisCookie.
It lets you create, edit and delete your cookies as well as importing or exporting them.
You can find it here: https://cookie-editor.cgagnier.ca or directly on the firefox store here: https://addons.mozilla.org/en-US/firefox/addon/cookie-editor/

Related

How to open a cached file in a PWA with a native app?

I’m building a PWA that is going to used primarily on mobile. It has the ability to download maps (such as a KML file) and store them in the cache.
The goal however, is not to open this KML map within an in-browser map viewer when the user is offline. Rather, I want the native phone behavior to kick in where (in the case of iOS) it shows a list of compatible apps that the file can be opened in, and essentially hands over the file to the app that’s eventually selected.
I tried doing this. When I’m offline on the PWA and click a link to a map (which has been cached), nothing happens, no feedback whatsoever. But when I go online and again click on same the link, then it does what I want.
Why does this happen?
To summarise my question in a single sentence: What are the ways to go about opening a cached file ( that is not natively supported by Safari / Chrome ) in a PWA on mobile (while offline), yet have the browsers / OS offer to open them in other apps, or at the least offer to save them in like a Downloads folder ( or the Files app in the case of iOS), where it can then be read from later by a compatible app?
For reference, this is the prompt that shows up when I click on the map link on iOS but only when I'm online ( I want the equivalent behavior on Android too ):

How to get information from and interact with a website from mobile webbrowsers?

On a mobile web browser, for example, when a user click on the link to an amazon product, I need a way to make a request to a server with product info and receive info about its availability on other online stores, then make an overlay over product image with this info. I need this to be possible while user is browsing and It would be great if it could be independent from browser app (firefox, chrome, etc)
I know chrome for android does not support extensions, firefox does. I do not want to replace browser with a custom app, with a webview or similar.
Is there a way to do this? Thanks in advance.

Access User's Browser (preferably Chrome) cache in Android

I'm working on something where I provide content to users based on the things they view over the internet, or by the kind of applications they use. Is there a way to get a user's search history, bookmarks or cache from various browsers (preferably Chrome). Also is there a way to get the 'search parameters' typed by the user to install apps on Play Store. The aim is to create a background service that helps understand user search habits on the mobile platform.
Unfortunately you can't because every android application in a sand box for more information go to this link:Sand Box
and if you want to do sort if thing you must implement rooted application and the database file in chrome is encrypted

change android's web browser settings programmatically

I am doing a MDM, in this moment i am checking some features to see if these are possible to build in android, i have searched about enable/disable java script, popups and cookies programmatically but apparently the web browser is the only that manages these settings, i would like to know if someone has reached enable/disable those features throught programatically.
See access android stock browser settings - AFAIK no APIs exist to update these settings from within the web page (imagine the badness that a bad actor could get up to by enabling popups)

Is it possible to block all websites except one website on an android programmatically?

Is there any way of blocking websites pro grammatically on an Android device if user open any browser in his devise. actually my requirement is i have one website only that website will open in a browser, except that website if any website if user open that should not open(blocked) it shows some alert.please any one solve my problem.
Yes. I finally found a way to do it.
Download kiwi browser from play store.
With this browser you can add chrome extensions on Android.
Then, download the stayfocusd extension from the chrome store
Go to the extension settings, and you can use it to block any site you want (and allow some, of course).
But, instead of blocking all the sites you don't want one by one, I found a way to block ALL websites on the internet by adding ONE blocked site - https://.
After you've added https:// to your blocked sites list, simply add your site(s) that you want to allow in the Allowed sites list, and that's it!
P.S. there is also the Nuclear option in the extension settings that lets you block all sites except the allowed ones, but unfortunately this option doesn't work on android...
There is another browser know as yandex browser . where you can use the nuclear option.
There is also Max time allowed option in this extension, so you can set how much time you want to use the blocked sites before the extension blocks them.
Unfortunately you can't change the time to more than what it currently is after you set it on Android...
No. You cannot do that until you have special application or proxy setup.
You can have to install proxy server on android and you can control which website to open or not.
Try proxoid

Categories

Resources