Android 如何在手机浏览器上管理cookie?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/25158964/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to manage cookie on mobile browser?
提问by Skay
How can i edit my cookies in chrome on my iOS/android device?
如何在 iOS/Android 设备上的 chrome 中编辑我的 cookie?
回答by Skay
please clarify your question. This seems very broard.
请澄清你的问题。这似乎很宽泛。
However,
然而,
"This article applies to Chrome for Mobile.
“本文适用于移动版 Chrome。
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
触摸 Chrome 菜单 > 设置。触摸(高级)内容设置。以下信息适用于所有移动设备
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.
阻止弹出窗口。防止网站自动显示其他窗口。接受饼干。网站可以在您的设备上存储小文件,以便在网站上保存您的首选项或让您保持登录状态。取消选择以防止网页在您的移动设备上存储 cookie。以下信息仅适用于 Android 版 Chrome。
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."
启用 JavaScript。许多 Web 开发人员使用 JavaScript 使他们的网站更具交互性。只有当网站可以在您的移动设备上运行 JavaScript 时,它们才能正常运行。语音和视频通话。允许具有媒体功能(例如视频会议)的网站请求访问您的摄像头和麦克风。谷歌翻译。翻译用其他语言编写的页面。谷歌位置设置。允许包含特定位置内容的网站询问您是否要使用移动设备的位置信息共享您的位置。网站设置。如果您想清除存储在设备上的特定站点的位置权限或本地数据,请触摸此选项。”
回答by Skay
For those who's still looking for an answer here is an instruction for an iPhone:
对于那些仍在寻找答案的人,这里是 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.
您无法在手机上看到 cookie 数据,但如果您激活设置 > Safari > 高级 > Web Inspector,您可以使用电缆将 iPhone 连接到 Apple 计算机并打开 Safari。在 Preferences > Advanced > Show Develop menu in menu bar 中激活 Develop 菜单
现在您可以在 iPhone 上打开一个页面,然后在计算机上选择 Develop > your_phone > the_page 以在手机上查看该页面的检查器。顶部的第二个图标用于存储,将显示您在手机上显示的页面的 cookie。
回答by Moustachauve
If you are still looking, I made a Firefox extension called Cookie-Editor that also works on Android phones. It is similar to EditThisCookie.
如果您还在寻找,我制作了一个名为 Cookie-Editor 的 Firefox 扩展程序,它也适用于 Android 手机。它类似于 EditThisCookie。
It lets you create, edit and delete your cookies as well as importing or exporting them.
它允许您创建、编辑和删除您的 cookie 以及导入或导出它们。
You can find it here: https://cookie-editor.cgagnier.caor directly on the firefox store here: https://addons.mozilla.org/en-US/firefox/addon/cookie-editor/
您可以在此处找到它:https: //cookie-editor.cgagnier.ca或直接在此处的 firefox 商店中找到:https: //addons.mozilla.org/en-US/firefox/addon/cookie-editor/