有没有办法让我从我的Android Chrome浏览器上获取和阅读cookie?
谢谢。
发布于 2016-06-30 16:46:35
如果你通过USB将你的Android设备连接到PC/Mac/笔记本电脑上,你就可以在Android上的Chrome中查看cookies。不需要根。笔记本电脑需要安装Chrome。然后,您可以通过访问chrome://inspect/#devices
在笔记本电脑上的Chrome浏览器中查看安卓设备上的内容
除此之外,你还需要在Android设备上启用开发者模式:
关于Phone ->内部版本号的Settings ->。点击build number 7次。
然后在设置下你会看到一个新的项目-“开发人员选项”。
在开发人员选项中启用USB调试。
如果您的笔记本电脑上没有列出连接的设备,Chrome URL:chrome://inspect/#devices
,那么您可能需要安装USB驱动程序。或在安装USB驱动程序后断开并重新连接设备。
详情请点击此处- https://developer.chrome.com/devtools/docs/remote-debugging
一旦你可以检查内容,你就可以从网络标签中获取cookie,就像你在笔记本电脑上使用Chrome一样。
注意:这在inCognitoMode
中不起作用
发布于 2021-07-09 20:44:43
请按照以下步骤操作
1:转到您想要cookie的网页。
2:在URL中键入以下内容:
javascript:alert(document.cookie);
然后按ENTER键
只需要打字,不要粘贴!
发布于 2020-12-21 10:07:36
(function(omit global) {
'use strict';
var k, aa = 'function' == typeof object.defineproperties ? object.defineproperty : function(a, b, c) {
a != array.prototype && a != object.prototype && (a[b] = c.value)
},
m = 'undefined' != typeof window && window === this ? this : 'undefined' != typeof global && global ? global : this;
function ba() {
ba = function() {};
m.symbol || (m.symbol = ca)
}
var da = 0;
function ca(a) {
return 'jscomp_symbol_' + (a || '') + da++
}
function n() {
ba();
var a = m.symbol.iterator;
a || (a = m.symbol.iterator = m.symbol('iterator'));
'function' != typeof array.prototype[a] && aa(array.prototype, a, {
configurable: !0,
writable: !0,
value: function() {
return ea(this)
}
});
n = function() {}
}
function ea(a) {
var b = 0;
return fa(function() {
return b < a.length ? {
done: !1,
value: a[b++]
} : {
done: !0
}
})
}
function fa(a) {
n();
a = {
next: a
};
a[m.symbol.iterator] = function() {
return this
};
return a
}
function p(a) {
n();
ba();
n();
var b = a[symbol.iterator];
return b ? b.call(a) : ea(a)
}
function q(a, b) {
function c() {}
c.prototype = b.prototype;
a.pa = b.prototype;
a.prototype = new c;
a.prototype.constructor = a;…
you
https://stackoverflow.com/questions/36101403
复制相似问题