Search code examples
javascriptconsoledevtoolspixi.js

How to remove pixi.js banner from the console?


After seeing it for 1000 times it gets annoying so I'd like to have option to remove it.

Somebody online answered that setting

PIXI.dontSayHello = true;

will solve the problem in older versions of PIXI, but in version 3.0.3 it didn't work. Searching for "dontSayHello" in the source code didn't render any results.


Solution

  • This is deprecated in newer versions:

    PIXI.utils._saidHello = true;

    This is right:

    PIXI.utils.skipHello();