Super Evil New Tab: Random Background Image from Array

This is just an example to demonstrate the flexibility and power of the Super Evil New Tab for Google Chrome Extension which overrides the chrome://newtab page and let's you completely customize it.

There are no limitations and you can do everything you want. From a simple redirect to another page to a full-blown Website on your new tab page; only sky is the limit.

You need to have the Super Evil New Tab for Google Chrome extension installed.

You can extend and/or modify the images according to your liking

Then head over to the options page of the extension and put fill put in these code snippets:

Custom CSS

html, body {
    background-color: #272b30;
    color: #fff;
    width: 100%;
    height: 100%;
    text-align: center;
    overflow: hidden;
    position: relative;
    background-size: cover;
}

Custom JavaScript

const randomInt = function(min, max) {
    return Math.floor(min + Math.random() * (max+1 - min));
}
const imgArray = [
    "https://images7.alphacoders.com/411/thumb-1920-411820.jpg",
    "https://static.pexels.com/photos/33109/fall-autumn-red-season.jpg",
    "https://i.imgur.com/q78WfpO.jpg?1",
    "http://ilovehdwallpapers.com/walls/girl-jacket--short-jeans-road-dance-tattoo-wide.jpg",
    "https://i.ytimg.com/vi/9BMmkSgmPB8/maxresdefault.jpg"
];
const getRandomCssString = function() {
    let len = imgArray.length;
    return 'url("' + imgArray[randomInt(0, len-1)] + '")';
};
document.body.style.backgroundImage = getRandomCssString();

You can also try a super evil, but super sexy Super Evil Dark Theme which perfectly fits with the Super Evil New Tab extension.