This library will throw a party in your browser bar.
It will draw a new character as your favicon every second, so you can show a text message.
Just include the JavaScript file and you're good to go.
In a browser:
<script src="favicon-slider.js"></script>
Using an AMD loader like RequireJS:
require(['favicon-slider'], function (faviconSlider) {
console.log(faviconSlider);
});
Favicon Slider comes with various options, which should speak for themselves.
faviconSlider.setSpeed(1000);
faviconSlider.setText("YourText");
faviconSlider.setBackgroundColor("#000");
faviconSlider.setTextColor("#fff");
faviconSlider.stop();
faviconSlider.start();
A fully customised example utilising all the configuration options is given in example.html
.
Favicon Slider is available under the MIT License.