Greasy Fork is available in English.

elegant alert()

Display a non-blocking alert box at the top right corner, and automatically close after a few seconds. Click on the alert box will close it immediately and copy the alert message to clipboard.

These are versions of this script where the code was updated. Show all versions.

  • v1.14 2022-11-08

    tweak animation appearance

  • v1.13 2022-10-16
  • v1.12 2022-10-05

    fix the appearance for long message

  • v1.10 2022-04-23
  • v1.10 2022-04-17
  • v1.09 2021-12-31
  • v1.08 2021-08-29

    add optional parameter to set the box's lifetime.
    ElegantAlertBox(message, lifetime = duration);

    fix the box scroll bar in Firefox, Edge.

  • v1.07 2021-06-18
  • v1.06 2020-08-09
  • v1.04 2020-04-28
  • v1.03 2020-02-03
  • v1.03 2020-02-03
  • v1.02 2020-01-20
  • v1.02 2020-01-20
  • v1.02 2020-01-20
  • v1.02 2020-01-18
  • v1.02 2020-01-16 UI adjustment
  • v1.01 2019-10-30 correct some js statements.
  • v1.0 2019-10-29