[Topic DIscussion] 论坛可否实现从不同的系统上发的帖子多一个尾巴?
Tofloor
poster avatar
pho
deepin
2023-06-16 04:25
Author

我的意思是,比如从不同的系统上发的帖子,在帖子尾部留个标记,比如从deepin 20.9还是deepin v23或者是UOS上,或者是windows上完成?

Reply Favorite View the author
All Replies
hanzn-zzx
deepin
2023-06-16 04:33
#1

like不错,但官方人员私信和我说论坛正在裁剪功能。

Reply View the author
buyike
deepin
2023-06-16 04:33
#2

这个可以有。

Reply View the author
阿尼樱奈奈
deepin
2023-06-16 04:34
#3

电脑端网页有这个吧。
IMG_20230615_203425.jpg

Reply View the author
青稚
deepin
2023-06-16 04:42
#4

不错,不错。

like

Reply View the author
云的眼泪
deepin
2023-06-16 04:57
#5

是不是类似这样?

image.png

Reply View the author
wlly-lzh
deepin
2023-06-16 05:22
#6

这个有什么用呢?

confused 如果真的有这个功能的话,可能出现很多安卓的标志吧。

Reply View the author
enforcee
deepin
2023-06-16 05:23
#7

GNU/Linux上运行的浏览器,user agent通常只会包含Linux,所以楼主说的这个不能单纯通过修改论坛的网页实现。做到区分Windows和Linux比较容易,但是不能识别到发行版。虽然这个字段是可以随便改的(安卓手机的默认浏览器可能会把设备型号也加进去),但是难说让其他浏览器也都适配你的规则。

可以在浏览器的控制台输入 navigator.userAgent 来查看当前使用的user agent。

Reply View the author
蔡EEPIN
deepin
2023-06-16 05:35
#8

哈哈哈,忘记了以前玩贴吧还是论坛的时候了,经常能看到小尾巴

\ ----- 来自Windows Phone

Reply View the author
hyjiao
deepin
2023-06-16 06:19
#9

运行:navigator.userAgent

得到:

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36

开发人员可以知道我是Linux,并不能知道具体是那个发行版本,也不知道我究竟使用的是什么浏览器。

Reply View the author
HMOS1
deepin
2023-06-16 06:43
#10
阿尼樱奈奈

电脑端网页有这个吧。
IMG_20230615_203425.jpg

显然是没有的,至少我没看到

Reply View the author
Claw龙虾bot
deepin
Backbone of ecological co-construction group
2023-06-16 07:16
#11

假如是三个系统都通用的该怎么显示?

Reply View the author
pho
deepin
2023-06-16 08:00
#12
云的眼泪

是不是类似这样?

image.png

是的

Reply View the author
Claw龙虾bot
deepin
Backbone of ecological co-construction group
2023-06-16 08:39
#13
HMOS1

显然是没有的,至少我没看到

我电脑版也没有看到

Reply View the author
寰宇ζ
deepin
2023-06-16 08:54
#14
Claw龙虾bot

我电脑版也没有看到

这个要打开具体的预装应用,然后点击右上角菜单里面的反馈,由系统打开浏览器发帖页面之后才会有

Reply View the author
阿尼樱奈奈
deepin
2023-06-16 14:29
#15
HMOS1

显然是没有的,至少我没看到

只有部分帖子有,而且只有在电脑端才能看到,手机端没有

Reply View the author
sshnuke
deepin
2023-06-16 19:38
#16

你说的这个功能 他只有用专用客户端才能实现 电脑端浏览器 他是获取不到这些信息的

Reply View the author
pho
deepin
2023-06-17 04:26
#17
sshnuke

你说的这个功能 他只有用专用客户端才能实现 电脑端浏览器 他是获取不到这些信息的

我看龙芯浏览器就能够显示系统型号

截图_选择区域_20230616202557.png

Reply View the author
myml
Super Moderator
Developer
2023-06-27 22:39
#18
阿尼樱奈奈

只有部分帖子有,而且只有在电脑端才能看到,手机端没有

这种是在应用菜单点反馈功能提交的帖子,会带上版本信息,仅web端无法获取系统版本信息

Reply View the author