Dy ab参数

最近d音 web改版

看了下 由x-b 变成 a-b了
在这里插入图片描述
简单跟了下栈
在这里插入图片描述

这里生成了 a_b

可以发现 vmp代码里有几处这部分代码 都打上断点 插桩能发现大致的流程

在这里插入图片描述

把之前用的环境套了下

只说下关键点 (其他的一些基本环境就不讲了)

onwheelx = {
    "_Ax" : "0X21"
}
Object.defineProperty(onwheelx, '_Ax',{
    writable:false
})
window.requestAnimationFrame = function requestAnimationFrame(){
    console.log('requestAnimationFrame', arguments)
    return null
}
window._sdkGlueVersionMap = {
    "sdkGlueVersion": "1.0.0.51",
    "bdmsVersion": "1.0.1.5",
    "captchaVersion": "4.0.2"
}
  1. 一些window screen document.body里面的属性
  {
    innerWidth: xxx,
    innerHeight: xxx,
    outerWidth: xxx,
    outerHeight: xxx,
    screenX: xxx,
    screenY: xxx,
    pageXOffset: xxx,
    pageYOffset: xxx,
    availWidth: xxx,
    availHeight: xxx,
    sizeWidth: xxx,
    sizeHeight: xxx,
    clientWidth: xxx,
    clientHeight: xxx
  }
  1. Navigator.vendorSus {link: 时间戳}

结果:

在这里插入图片描述

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
以下是一个用 Delphi 实现多段线去除共线边的算法的示例代码: ```delphi type TPoint = record X: Double; Y: Double; end; TPolyline = array of TPoint; function SimplifyPolyline(const Polyline: TPolyline; Tolerance: Double; RemoveSameDirection, RemoveOppositeDirection: Boolean): TPolyline; var i, j, k: Integer; dx1, dy1, dx2, dy2, cross: Double; Points: TPolyline; begin SetLength(Points, Length(Polyline)); for i := 0 to High(Polyline) do Points[i] := Polyline[i]; i := 0; while (Length(Points) > 2) and (i < Length(Points) - 1) do begin dx1 := Points[i + 1].X - Points[i].X; dy1 := Points[i + 1].Y - Points[i].Y; dx2 := Points[i + 2].X - Points[i + 1].X; dy2 := Points[i + 2].Y - Points[i + 1].Y; cross := dx1 * dy2 - dy1 * dx2; if (Abs(cross) < Tolerance) and ( (RemoveSameDirection and ((dx1 * dx2 > 0) or (dy1 * dy2 > 0))) or (RemoveOppositeDirection and ((dx1 * dx2 < 0) or (dy1 * dy2 < 0)))) then begin for j := i + 1 to High(Points) - 1 do Points[j] := Points[j + 1]; SetLength(Points, Length(Points) - 1); if i > 0 then Dec(i); end else Inc(i); end; Result := Points; end; ``` 这个算法的实现比较简单,它遍历多段线的所有节点,并对相邻的三个节点计算它们的连线的叉积。如果叉积小于一个给定的容差,并且相邻两条边符合要求(同向或反向),则删除中间的节点。如果多段线的度小于等于 2,或者已经无法再删除节点,算法就结束了。 你可以根据自己的需要调整容差和删除同向或反向边的设置,以达到最佳的简化效果。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值