Skip to content

Commit

Permalink
Docs: fix AHBD
Browse files Browse the repository at this point in the history
  • Loading branch information
TRHX committed Dec 12, 2023
1 parent e2ff933 commit e5a243f
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 45 deletions.
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
<template>
<div style='text-align: center'>
<h1>Automated/Headless browser detection</h1>
<div class='headless-div'>
<h1>Automated/Headless Browser Detection (AHBD)</h1>
<div>
颜色状态:
<div class='explain-box headful'></div> normal 正常
<div class='explain-box headless'></div> abnormal 异常
<div class='explain-box undefined'></div> suspicious 可疑
<div class="explain-box beta"></div> bata 测试阶段
<div class="explain-box headful"></div> Normal 正常
<div class="explain-box headless"></div> Abnormal 异常
<div class="explain-box undefined"></div> Suspicious 可疑
<div class="explain-box beta"></div> Bata 测试阶段
</div>
<br>
<div class='headless-div'>
<div>
检测对象:
<div class='explain-box target-box'>SE</div> selenium
<div class='explain-box target-box'>PH</div> phantomjs
<div class='explain-box target-box'>PL</div> playwright
<div class='explain-box target-box'>PP</div> puppeteer / pyppeteer
<div class="explain-box target-box">PE</div> puppeteer-extra
<div class="explain-box target-box">SE</div> Selenium
<div class="explain-box target-box">PH</div> Phantomjs
<div class="explain-box target-box">PL</div> Playwright
<div class="explain-box target-box">PP</div> Puppeteer / Pyppeteer
<div class="explain-box target-box">DP</div> DrissionPage
</div>
<br>
<div>
<div class="explain-box target-box">PE</div> Puppeteer-extra / Playwright-extra
</div>
<br>
<table id='headless-table'>
Expand All @@ -28,15 +32,25 @@
</table>
</div>
</template>
<!-- <script src='https://lib.baomitu.com/modernizr/latest/modernizr.min.js'></script>
<script src='https://cdn.itbob.cn/spiderapi/detect_headless.js'></script> -->
<script>
export default {
mounted() {
headlessTests.forEach(function(test) {
generateTableRow(test);
testBrowser(test).then(function(res) {});
});
const script1 = document.createElement('script');
script1.src = 'https://lib.baomitu.com/modernizr/latest/modernizr.min.js';
script1.async = true;
document.head.appendChild(script1);
const script2 = document.createElement('script');
script2.src = 'https://cdn.itbob.cn/spiderapi/detection.js';
script2.async = true;
document.head.appendChild(script2);
setTimeout(function() {
headlessTests.forEach(function(test) {
generateTableRow(test);
testBrowser(test).then(function(res) {});
});
}, 500)
},
};
</script>
Expand Down Expand Up @@ -86,21 +100,4 @@ export default {
color: white;
background-color: #0078D7;
}
.headless-div {
text-align: center;
}
.headless-submit {
background: #347eff;
border-radius: 4px;
margin: 20px 0;
display: inline-block;
width: 300px;
height: 50px;
box-sizing: border-box;
border: 1px solid #ccc;
color: #fff;
cursor: pointer;
font-size: 14px;
line-height: 49px;
}
</style>
5 changes: 1 addition & 4 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ module.exports = {
// ['script', { src: 'https://lib.baomitu.com/jquery/1.9.1/jquery.min.js', type: 'text/javascript' }],
['script', { src: '//sdk.51.la/js-sdk-pro.min.js', type: 'text/javascript', id: 'LA_COLLECT', charset: 'UTF-8' }],
['script', { src: 'https://lib.baomitu.com/jquery/1.9.1/jquery.min.js', type: 'text/javascript' }],
// 极验行为验证 2.0 需要的 JS,直接在 md 里插入 <script> 标签会存在加载时机问题,到底是为什么?不会前端啊!
['script', { src: 'https://static.geetest.com/static/js/geetest.0.0.0.js', type: 'text/javascript' }],
['script', { src: 'https://lib.baomitu.com/modernizr/latest/modernizr.min.js', type: 'text/javascript' }],
['script', { src: 'https://cdn.itbob.cn/spiderapi/detect_headless.js', type: 'text/javascript' }],
['script', { src: '/js/autoPush.js', type: 'text/javascript' }],
['script', {}, `LA.init({id:"3FpCxw5JhIELmjz2",ck:"3FpCxw5JhIELmjz2"})`],
['script', {},
Expand Down Expand Up @@ -196,7 +193,7 @@ module.exports = {
text: '指纹信息', items: [
{ text: 'CreepJS', link: '/pages/creepjs/' },
{ text: 'Fingerprint2', link: '/pages/fingerprint2/' },
{ text: '自动化工具检测', link: '/pages/bot-test/' },
{ text: '自动化工具检测', link: '/pages/AHBD/' },
]
},
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
---
title: 自动化工具检测
date: 2023-12-06 11:37:28
permalink: /pages/bot-test/
permalink: /pages/AHBD/
article: false
---

<BotTest />
<AHBD />

<!-- <script src='https://lib.baomitu.com/modernizr/latest/modernizr.min.js'></script>
<script src='https://cdn.itbob.cn/spiderapi/detection.js'></script> -->
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,16 @@ Demo 样例(随时有可能变化,以实际情况为准):

- 官方 Demo:[https://promotion.aliyun.com/ntms/act/captchaIntroAndDemo.html](https://promotion.aliyun.com/ntms/act/captchaIntroAndDemo.html)<Badge text="140" type="error" vertical="middle"/>
- 众安在线:[http://subao.zhonganib.com//subao-h5/aggregation/login/index.html](http://subao.zhonganib.com//subao-h5/aggregation/login/index.html)<Badge text="140" type="error" vertical="middle"/>
- 1688(清除 cookie 访问):[https://detail.1688.com/offer/691529887014.html](https://detail.1688.com/offer/691529887014.html)<Badge text="226" type="error" vertical="middle"/> <Badge text="X82Y" type="error" vertical="middle"/> <Badge text="本页使用" type="error" vertical="middle"/>
- 1688(清除 cookie 访问):[https://detail.1688.com/offer/691529887014.html](https://detail.1688.com/offer/691529887014.html)<Badge text="226" type="error" vertical="middle"/> <Badge text="X82Y" type="error" vertical="middle"/>
- 交易猫(清除 cookie 访问):[https://m.jiaoyimao.com/jg1002416-3/](https://m.jiaoyimao.com/jg1002416-3/)<Badge text="226" type="error" vertical="middle"/> <Badge text="X82Y" type="error" vertical="middle"/>
- 车网:[http://company.ecrrc.com/sup-6875-0-0/list-0-0-2.html](http://company.ecrrc.com/sup-6875-0-0/list-0-0-2.html)<Badge text="227" type="error" vertical="middle"/> <Badge text="本页使用" type="error" vertical="middle"/>

::: right
访问 [阿里云 Captcha 官网](https://www.aliyun.com/product/security/captcha)
:::

::: danger 注意
<!-- ::: danger 注意
验证码 1.0 官方开通每年最低开支 ¥3600+:sob:,故本页使用 1688 进行展示,若不能正常出现验证码,则需要清除网站 1688.com 的 cookie 后再访问!
:::
::: -->

<iframe src="https://detail.1688.com/offer/691529887014.html" scrolling="no" height="400px"></iframe>
<iframe src="http://company.ecrrc.com/sup-6875-0-0/list-0-0-2.html" scrolling="no" height="400px"></iframe>
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Demo 样例(随时有可能变化,以实际情况为准):
- 众安在线:[http://subao.zhonganib.com//subao-h5/aggregation/login/index.html](http://subao.zhonganib.com//subao-h5/aggregation/login/index.html)<Badge text="140" type="error" vertical="middle"/>
- 1688(清除 cookie 访问):[https://detail.1688.com/offer/691529887014.html](https://detail.1688.com/offer/691529887014.html)<Badge text="226" type="error" vertical="middle"/> <Badge text="X82Y" type="error" vertical="middle"/>
- 交易猫(清除 cookie 访问):[https://m.jiaoyimao.com/jg1002416-3/](https://m.jiaoyimao.com/jg1002416-3/)<Badge text="226" type="error" vertical="middle"/> <Badge text="X82Y" type="error" vertical="middle"/>
- 车网:[http://company.ecrrc.com/sup-6875-0-0/list-0-0-2.html](http://company.ecrrc.com/sup-6875-0-0/list-0-0-2.html)<Badge text="227" type="error" vertical="middle"/>

::: right
访问 [阿里云 Captcha 官网](https://www.aliyun.com/product/security/captcha)
Expand Down
6 changes: 6 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ Spider API 项目由 <a href="https://www.itbob.cn" target="_blank">BOB</a> 在
link: https://blog.csdn.net/Y_morph
bgColor: '#CBEAFA'
textColor: '#6854A1'
- name: 十一姐
desc: JS 逆向,公众号逆向OneByOne
avatar: /img/shiyi.jpg
link: https://blog.csdn.net/weixin_43411585
bgColor: '#f1f1f1'
textColor: '#2A3344'
```
:::
Expand Down

0 comments on commit e5a243f

Please sign in to comment.