langningchen / XMOJ-Script

XMOJ增强脚本
https://web.xmoj-bbs.tech
GNU General Public License v3.0
5 stars 1 forks source link

[Feature request] Use MathJax instead of KaTeX #55

Closed boomzero closed 1 year ago

langningchen commented 1 year ago

@boomzero

langningchen commented 1 year ago

image

langningchen commented 1 year ago

~WTF~ are you doing???

boomzero commented 1 year ago

image

Rate limit啊, 我跟你说过了

langningchen commented 1 year ago

我知道是rate limit,但也没怎么访问,为什么就触发了?

langningchen commented 1 year ago

15click/10s?我就刷新了一下

boomzero commented 1 year ago

你的ip是什么, 我~ddos~一下

langningchen commented 1 year ago

不用,谢谢

langningchen commented 1 year ago

因为有的时候我会更换IP

boomzero commented 1 year ago

我知道是rate limit,但也没怎么访问,为什么就触发了?

关浏览器, 等10秒

boomzero commented 1 year ago

你后台开太多窗口了

langningchen commented 1 year ago

话说这个MathJax真难搞

boomzero commented 1 year ago

我加个自定义提示

langningchen commented 1 year ago

我加个自定义提示

最好返回JSON提示

boomzero commented 1 year ago

话说这个MathJax真难搞

? 引用他的js不久行了吗 or CSS

langningchen commented 1 year ago

不要用HTML,不然前端解析会失败

langningchen commented 1 year ago

话说这个MathJax真难搞

? 引用他的js不久行了吗 or CSS

不是,你要在他的JS加载之前配置,如果之后就很烦,用户脚本没法在加载他之前配置,所以我不得不用很烦的加载后配置,网上的文档也很少,官方给出的加载后配置也不多,因为没太有人这样用

boomzero commented 1 year ago

我加个自定义提示

最好返回JSON提示

返回什么, 可以的

langningchen commented 1 year ago

返回什么, 可以的

就用标准的格式啊:

{
    "Success": false,
    "Data": {},
    "Message": "您的请求过于频繁,请稍后再试"
}
langningchen commented 1 year ago

MathJax 真难!

boomzero commented 1 year ago

返回什么, 可以的

就用标准的格式啊:

{
    "Success": false,
    "Data": {},
    "Message": "您的请求过于频繁,请稍后再试"
}

done

boomzero commented 1 year ago

Response code:429

boomzero commented 1 year ago

ip

boomzero commented 1 year ago

啊, 有人在ddos我们

boomzero commented 1 year ago

ip2

langningchen commented 1 year ago

image ......

boomzero commented 1 year ago

ip3 这个User Agent 很可疑

langningchen commented 1 year ago

image

langningchen commented 1 year ago

你说的好像就是我……

langningchen commented 1 year ago

我只是正常的访问而已啊?

boomzero commented 1 year ago

...

langningchen commented 1 year ago

那个IPV6的是挂了梯子以后的IP,IPV4的是我本身的

boomzero commented 1 year ago

你为什么一边用Chrome/118.0.0.0 Safari/537.36 Edg/118.0.0.0

boomzero commented 1 year ago

...

boomzero commented 1 year ago

难怪Cloudflare 认为你是bot

langningchen commented 1 year ago

这个User Agent 很可疑

这个是梯子的服务器的UA

langningchen commented 1 year ago

我也不知道他为什么这样设置

boomzero commented 1 year ago

但是记录里全是你

boomzero commented 1 year ago

......

langningchen commented 1 year ago

对的,因为我要不断地刷新才能调试MathJax

boomzero commented 1 year ago

这个User Agent 很可疑

这个是梯子的服务器的UA

? 我开VPN不改变UA的啊

langningchen commented 1 year ago

那个101.229.88.69是谁?

langningchen commented 1 year ago

? 我开VPN不改变UA的啊

你得分种类

boomzero commented 1 year ago

not me

langningchen commented 1 year ago

那个101.229.88.69是谁?

不会也是我吧……?

boomzero commented 1 year ago

那个101.229.88.69是谁?

不会也是我吧……?

...

langningchen commented 1 year ago

哇!MathJax成功了!只不过字体还没有成功,不过能渲染了! image

boomzero commented 1 year ago

ip4 Is this you?

langningchen commented 1 year ago

我看看

langningchen commented 1 year ago

应该不是