使用JavaScript更改窗口状态消息

    技术2022-07-11  120

    Though I don't normally recommend modifying the browser's default behaviors, changing the window's status bar does have its place. The window status bar can pass descriptive information about the element the user is hovering over or can hide the URL from users that don't understand source code enough to figure it out for themselves.

    尽管我通常不建议您修改浏览器的默认行为,但是更改窗口的状态栏确实有其用途。 窗口状态栏可以传递有关用户悬停的元素的描述性信息,也可以向对源代码不了解的用户隐藏URL。

    JavaScript (The JavaScript)

    window.status = 'Hello! You are hovering over me.';

    翻译自: https://davidwalsh.name/window-status

    相关资源:jdk-8u281-windows-x64.exe
    Processed: 0.009, SQL: 9