如何在chrome-devtools中获得页面中一个js对象是如何生成的?

发布于 2022-09-06 12:04:54 字数 6138 浏览 16 评论 0

样例页面是: (www.manhuagui.com/comic/29/265988.html)
我想知道页面中, cInfo这个对象是如何生成的(cInfo不是dom对象), 比如: 哪些函数参与了生成, 都需要什么参数等.

目前我只知道
265988.html
config_25855B4C08F7A6545A30D049ABD0F9EE.js
core_19FE1D9EAA15FB2FCFB39EAD1B3B15B8.js
这三个文件是必须的.

我js水平初级, 所以希望解答的朋友能尽量详细的教我这个调试的过程. 非常感谢.

补充: 我发现在html页面中有一段代码, 他似乎可以生成cInfo, 不知该如何解读.

window["\x65\x76\x61\x6c"](function(p, a, c, k, e, d) {
    e = function(c) {
        return (c < a ? "" : e(parseInt(c / a))) + ((c = c % a) > 35 ? String.fromCharCode(c + 29) : c.toString(36))
    }
    ;
    if (!''.replace(/^/, String)) {
        while (c--)
            d[e(c)] = k[c] || e(c);
        k = [function(e) {
            return d[e]
        }
        ];
        e = function() {
            return '\\w+'
        }
        ;
        c = 1;
    }
    ;while (c--)
        if (k[c])
            p = p.replace(new RegExp('\\b' + e(c) + '\\b','g'), k[c]);
    return p;
}('28 2v={"2w":29,"2z":"2A.2o","2m":"29.4","2n":2q,"2r":"2P","2N":["2-2S-2R.4.1","2-2L-2G.4.1","2-1L-2E.4.1","2-1L-2H.4.1","2-1G-2I.4.1","2-1G-24.4.1","2-2k-2e.4.1","2-2h-2a.4.1","2-1P-2j.4.1","2-1P-22.4.1","2-1W-3A.3.1","2-1W-3B.3.1","2-1N-3C.3.1","2-1N-3r.3.1","2-1t-3w.3.1","2-1t-3P.3.1","2-1K-3O.3.1","2-1K-3S.3.1","2-1H-3M.3.1","2-1H-3I.3.1","2-1I-3K.3.1","2-1I-35.3.1","2-1v-36.3.1","2-1v-37.3.1","2-1B-2X.3.1","2-1B-31.3.1","2-21-2Z.3.1","2-21-3l.3.1","2-20-3o.3.1","2-20-3h.3.1","2-1V-3a.3.1","2-1V-3f.3.1","2-w-3e.3.1","2-w-3g.3.1","2-A-3d.3.1","2-A-3b.3.1","2-r-3c.3.1","2-r-3m.3.1","2-v-3n.3.1","2-v-3i.3.1","2-G-3j.3.1","2-G-3k.3.1","2-K-30.3.1","2-K-2Y.3.1","2-B-2V.3.1","2-B-2W.3.1","2-F-32.3.1","2-F-38.3.1","2-b-39.3.1","2-b-33.3.1","2-d-34.3.1","2-d-3p.3.1","2-8-3J.3.1","2-8-3L.3.1","2-5-3F.3.1","2-5-3G.3.1","2-k-3H.3.1","2-k-3R.3.1","2-o-3T.3.1","2-o-3Q.3.1","2-f-3N.3.1","2-f-3u.3.1","2-j-3v.3.1","2-j-3t.3.1","2-L-3q.3.1","2-L-3s.3.1","2-1d-3x.3.1","2-1d-3D.3.1","2-1g-3E.3.1","2-1g-3y.3.1","2-18-3z.3.1","2-18-2U.3.1","2-1b-27.3.1","2-1b-2c.3.1","2-1n-2f.3.1","2-1n-23.3.1","2-1q-26.3.1","2-1q-2d.3.1","2-1i-2b.3.1","2-1i-2i.3.1","2-1l-2g.3.1","2-1l-25.3.1","2-S-2l.3.1","2-S-2K.3.1","2-V-2J.3.1","2-V-2D.3.1","2-N-2F.3.1","2-N-2Q.3.1","2-Q-2T.3.1","2-Q-2M.3.1","2-12-2O.3.1","2-12-2t.3.1","2-16-2s.3.1","2-16-2p.3.1","2-X-2u.3.1","2-X-2C.3.1","2-10-2B.3.1","2-10-2y.3.1","2-D-2x.3.1","2-D-5C.3.1","2-Z-5B.3.1","2-Z-5D.3.1","2-Y-5F.3.1","2-Y-5E.3.1","2-W-5x.3.1","2-W-5w.3.1","2-14-5y.3.1","2-14-5A.3.1","2-13-5z.3.1","2-13-5M.3.1","2-11-5L.3.1","2-11-5N.3.1","2-P-5P.3.1","2-P-5O.3.1","2-O-5H.3.1","2-O-5G.3.1","2-M-5I.3.1","2-M-5K.3.1","2-U-5J.3.1","2-U-5i.3.1","2-T-5h.3.1","2-T-5j.3.1","2-R-5l.3.1","2-R-5k.3.1","2-17-5d.3.1","2-17-5c.3.1","2-1m-5e.3.1","2-1m-5g.3.1","2-1k-5f.3.1","2-1k-5s.3.1","2-1j-5r.3.1","2-1j-5t.3.1","2-1r-5v.3.1","2-1r-5u.3.1","2-1p-5n.3.1","2-1p-5m.3.1","2-1o-5o.3.1","2-1o-5q.3.1","2-1c-5p.3.1","2-1c-6g.3.1","2-1a-6f.3.1","2-1a-6h.3.1","2-19-6j.3.1","2-19-6i.3.1","2-1h-6b.3.1","2-1h-6a.3.1","2-1f-6c.3.1","2-1f-6e.3.1","2-1e-6d.3.1","2-1e-6r.3.1","2-h-6q.3.1","2-h-6s.3.1","2-i-6t.3.1","2-i-6l.3.1","2-e-6k.3.1","2-e-6p.3.1","2-g-6o.3.1","2-g-6n.3.1","2-n-6m.3.1","2-n-5W.3.1","2-p-5V.3.1","2-p-5X.3.1","2-l-5Z.3.1","2-l-5Y.3.1","2-m-5R.3.1","2-m-5Q.3.1","2-7-5S.3.1","2-7-5U.3.1","2-6-5T.3.1","2-6-66.3.1","2-c-65.3.1","2-c-67.3.1","2-9-69.3.1","2-9-68.3.1","2-q-61.3.1","2-q-60.3.1","2-E-62.3.1","2-E-64.3.1","2-1T-63.3.1","2-1T-4k.3.1","2-C-4j.3.1","2-C-4l.3.1","2-J-4n.4.1","2-J-4m.4.1","2-I-4f.4.1","2-I-4e.4.1","2-H-4g.4.1","2-H-4i.4.1","2-u-4h.4.1","2-u-4u.4.1","2-t-4t.4.1","2-t-4v.4.1","2-s-4x.4.1","2-s-4w.4.1","2-z-4p.4.1","2-z-4o.4.1","2-y-4q.3.1","2-y-4s.3.1","2-x-4r.3.1","2-x-40.3.1","2-1U-3Z.3.1","2-1U-41.3.1","2-1X-43.3.1","2-1X-42.3.1","2-1S-3V.3.1","2-1S-3U.3.1","2-1Y-3W.3.1","2-1Y-3Y.3.1","2-1y-3X.3.1","2-1y-4a.3.1","2-1A-49.3.1","2-1A-4b.3.1","2-1u-4d.3.1","2-1u-4c.3.1","2-1C-45.3.1","2-1C-44.3.1","2-1M-46.3.1","2-1M-48.3.1","2-1F-47.3.1","2-1F-4Y.3.1","2-1D-4X.3.1","2-1D-4Z.3.1","2-1J-51.3.1","2-1J-50.3.1","2-1s-4T.3.1","2-1s-4S.3.1","2-1x-4U.3.1","2-1x-4W.3.1","2-1Z-4V.4.1","2-1Z-58.4.1","2-1O-57.4.1","2-1O-59.4.1","2-1Q-5b.4.1","2-1Q-5a.4.1","2-1R-53.4.1","2-1R-52.4.1","2-1z-54.3.1","2-1z-56.3.1","2-1w-55.3.1","2-1w-4E.3.1","2-1E-4D.3.1","2-1E-4F.3.1","2-4H-4G.3.1","2-4z-4y.4.1"],"4A":4C,"4B":4O,"4N":"/4P/a/4R/15/","4Q":0,"4J":"4I","4K":0,"4M":4L}||{};', 62, 402, 'D4dwpgRgDsDOZgLYAthQHYHNgCsrYAYBmA4AgDgHYzyA2MgJgE4aXHqLzGuLTiiaARjKUelFsQAsZIsIrSKAVhoMZqigIJM+DOUwlMeTDg3WCWggqsvDLOncq2bF6pnIb0rmpp6aOmCgwKRI60cpKetHyKEpIctAqSCrSatOqSjoqZ0QqKznKKPJI8ihyK9GSSErSORGIKlJpEEpTqRJ6UHJSeRF2Okuq0PLQckqmeknyUcpR8knK0FoKOlsCWEoLSgqZrgvSW1Nu2FGTLu6SCggLb19tkBAp3BFe7j3LEu+9LPASH5msMC4EfzWD7PH5cSxbAj7QQcOGnegMADGikgwCoyKYEGAABNZgAzHFaVE4sBXahRRSkABuAEMAE7AYB04HvebAKkEMkUnF+EYYyhYshMVH3TwPQQ4lFo+7KdpEMDAaAAS2RwGRKtxwAAygAZACqAFkAAqAKgNAFrKgGuNQBwcoAuc0AFmqAYC0ncBKHSiBBpTVDFxkeg6Ygle7PSzPYocbQPdRkQBJdAEgD2yq1wEkYFDMXMOIgAaDwAAIkysywo70cZ7KF7gKZcX6CULgAT2spa+QcfiCATgJWKyl0QQrJzzLQcQSVQAbMCwMMQZSAGO1ABaKgAknM7IhvIvlEQH3YRhHzKz2b4BgZFDE9n9ss8gE7tgchxLcEOknh/UOk3oksph07WyOnVrIYDdvMuIAWmcTqkkQo4nSP64hWgjge0BDareECjoedZNkS9DIr+faoTi+EIWSJCSMRtBUWOHpobRT7gRARB1pRVEnuRPaCMBfK4lxbrktiwBMLx6IDDesEMASEZpgwN54hADZrMiDDULiDB0lKh4QFBigvBkVw4pQAlKSpHbqbYsk4ts7Y4oUog1nUVbAFk5DKKBL4udJDCOSykmtrxwgIQ2xH3tyzlUFeDABSF5CkApRBfvF3ZEBRLBgIC9ApRAgnaQK5AetWuVOUScJjhACIhFFFYuNqtDIuQLDruQtX1YJTBEHSqjpTCW6dbZrJXooA1NlG4EEqNQkQMwOEQEq2LMJG+ikHSCRXos2jSuQYDgbJ238QSDCGcBqgEty3b5aGp0KcSCozQOCq2em6KKE9LIHdYDDKOO6AqrAyBgNqU7oMAAAuDIAK5KqYtBKoIBJgIJ0PPbM2rbNIADCAByyoTomyIANYAPrIuq6BgAAHiDsbah45T6GgDJgDS1NoHSIOoEE0hQLAwiwCDbPgzOdKE7GACK4XlLZrmwqK/G4ksoo4sUvwagSzVK7FTl0gS9WwTrPzFMSDxcIodbqnDCPOWbY5uNqRnyzbggIUJwlOfo+IYodV7kF7nJRNq8v5X7RFpuSL7eQjSthziPu0M7sfas8yKaUncjZZlDV8OnIXIkqgfgbnue2Zu1aKCXTbLJpBKV5yBJuGm+FcLQdeaeV8Oh56OYWzHECUF+7Z9xqfjO1ipvKpQuLdhHLC95PxHeVwkiN/PdTEjEYXAtoOFMF+t479+h1NsxyhwYdOaT+qP4QIxF/SodiP33iv6hmBuICASAzSCtxRNp/UvbkfXE0lCjbhor3MB1BXLkE0lA4QUVyDqkgN0Gs1s8SCCoD2TOHZ0FawzOBOkeC0wpRYB+YgfIAIviGO6SMVAXxjCqLBS4wgkGYQ0pcWCsUiBAA==='['\x73\x70\x6c\x69\x63']('\x7c'), 0, {}))


如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

痴意少年 2022-09-13 12:04:54

手机党。。。

cInfo是某个DOM元素吗?你可以给这个元素打DOM短点,查看每一个操作此DOM元素的JS脚本函数

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文