Skip to content

Commit

Permalink
MOD:修改小红书x-s通过全环境检测
Browse files Browse the repository at this point in the history
  • Loading branch information
ShilongLee committed Jun 19, 2024
1 parent 2bbb813 commit e2d816a
Show file tree
Hide file tree
Showing 2 changed files with 250 additions and 1,640 deletions.
5 changes: 1 addition & 4 deletions lib/js/douyin.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ document.createElement = function (name) {
return [{}]
}
}
document.documentElement = '<html></html>'
document.documentElement = {}
document.createEvent = function () {
return 'createEvent() { [native code] }'
}
Expand Down Expand Up @@ -11044,9 +11044,6 @@ window.bdms || function () {
window.bdms = n
}();

params = 'device_platform=webapp&aid=6383&channel=channel_pc_web&search_channel=aweme_general&enable_history=1&keyword=%E9%BB%91%E4%B8%9D&search_source=normal_search&query_correct_type=1&is_filter_search=0&from_group_id=&offset=0&count=15&need_filter_settings=1&list_type=single&update_version_code=170400&pc_client_type=1&version_code=190600&version_name=19.6.0&cookie_enabled=true&screen_width=1920&screen_height=1080&browser_language=zh-CN&browser_platform=Win32&browser_name=Chrome&browser_version=126.0.0.0&browser_online=true&engine_name=Blink&engine_version=126.0.0.0&os_name=Windows&os_version=10&cpu_core_num=24&device_memory=8&platform=PC&downlink=10&effective_type=4g&round_trip_time=100&webid=7378325321550546458&msToken=-wF2hv6wc7dT-KZrhb04BQMYL-t_wiWq2orz44qI7bE9KZuF-x7e8CVyisPpBWX16CrxNNHZgVC78-fdKY0T3EYj-hQGyDOBdgil3ratOKiq1GuCD3Il3rPEMZGdJWM%3D'
userAgent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36'

function sign_datail(params, userAgent) {
return window.sign(0, 1, 14, params, '', userAgent)
}
Expand Down
Loading

0 comments on commit e2d816a

Please sign in to comment.