gpt4 book ai didi

javascript - 使用 js 提取此值的 preg 匹配是什么

转载 作者:行者123 更新时间:2023-11-28 10:06:07 25 4
gpt4 key购买 nike

如何使用预匹配从以下文档中检索值 100003119917070XgXELcliKMkSCcS:

<script>
window.Env = window.Env || {};
(function(v) {
for (var k in v) { window.Env[k] = v[k]; }
})({
"user": "100003119917070",
"locale": "en_US",
"method": "GET",
"ps_limit": 5,
"ps_ratio": 4,
"svn_rev": 479734,
"static_base": "https:\/\/s-static.ak.facebook.com\/",
"www_base": "http:\/\/www.facebook.com\/",
"rep_lag": 2,
"post_form_id": "6cea66d4118fac268304a538a5004ed7",
"fb_dtsg": "AQAcBeoe",
"ajaxpipe_token": "AXgXELcliKMkSCcS",
"lhsh": "8AQGGa7eN",
"tracking_domain": "https:\/\/pixel.facebook.com",
"retry_ajax_on_network_error": "1",
"ajaxpipe_enabled": "1"
});
</script>
<script>
CavalryLogger=false;
window._incorporate_fragment = true;
window._script_path = "\/home.php";
window._EagleEyeSeed="Se1E";
</script>

最佳答案

只需访问window.Env.userwindow.env.ajax_token

关于javascript - 使用 js 提取此值的 preg 匹配是什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8355911/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com