Greasy Fork is available in English.

console.message

Rich text console logging

Dieses Skript sollte nicht direkt installiert werden. Es handelt sich hier um eine Bibliothek für andere Skripte, welche über folgenden Befehl in den Metadaten eines Skriptes eingebunden wird // @require https://update.greasyfork.org/scripts/370255/612436/consolemessage.js

Autor
spiralx
Version
0.1.0
Erstellt am
13.07.2018
Letzte Aktualisierung
13.07.2018
Lizenz
n/a

console.message

Rich text console logging

From github.com/astoilkov/console.message.

Example:

console.message()
  .span({ color: 'red' })
    .text('this is red! ')
    .span({ color: 'green' })
      .text('this is green! ')
    .spanEnd()
    .text('this is again red!')
  .spanEnd()
  .line()
  .element(document.body)
  .print()