Forgot password
 Register account
View 800|Reply 3

随机数

[Copy link]

3211

Threads

7832

Posts

52

Reputation

Show all posts

hbghlyj posted 2021-12-18 01:33 |Read mode

我看到的是12107.74998
如果用js来做,每次看到的都不一样:

673

Threads

110K

Posts

218

Reputation

Show all posts

kuing posted 2021-12-18 01:34
回复 1# hbghlyj

我也是 12107.74998,而且刷新也不变(应该是 upmath.me 那边缓存了

3211

Threads

7832

Posts

52

Reputation

Show all posts

original poster hbghlyj posted 2021-12-18 01:49
js+tikz可以画随机曲线


js+tikz可以画一个圆的随机的内接折线


js打印你的头像的反色版,然后顺便帮您登出{:mischievously:}

673

Threads

110K

Posts

218

Reputation

Show all posts

kuing posted 2021-12-18 15:41
回复 3# hbghlyj

你这波登出操作提醒了我:其实支持 <svg> 几乎等同于开启 html 代码支持,而且任何用户都可以,这样还是有一定风险嘀。

所以还不如去掉 <svg> 支持,改为仅对高级别用户(“论坛老手”用户组+管理组)开启 html 代码支持。

这样你也就不用每次都写 <svg> 了,发帖时勾选“Html 代码”即可。

Html 代码模式的麻烦之处在于换行得打 <br>,为此我新定义了 bbr 标签:
对于较长文本需要大量 <br> 时,可以用 <bbr> 与 </bbr> 将它们包起来,里面的内容就不用手打 <br>。

以前的相关帖子需要编辑一下,我已经编辑了几个,有些得麻烦你自己编辑

PS、我去掉了“登出”

Quick Reply

Advanced Mode
B Color Image Link Quote Code Smilies
You have to log in before you can reply Login | Register account

$\LaTeX$ formula tutorial

Mobile version

2025-7-20 05:51 GMT+8

Powered by Discuz!

Processed in 0.011501 seconds, 22 queries