API for you website

This is for the website developer / webmaster. If you want to focus on you website also a div or other HTML elements. Just follow this step below to bring focus on an element on your website. There two way to focus an element. The first way is give the element an id name and the other with a class style name.

Example for a HTML 5 video

HTML 5 video doesn't need an API code. The 'Turn Off the Lights' browser extension will detect automatically all the HTML5 videos on that website:

<video src="movie.ogv" controls="controls">your browser does not support the video tag</video>

This CSS ID and Class name worked since the Turn Off the Lights Browser extension version 1.0. That is available for Google Chrome, Firefox, Opera, Safari, Maxthon, Microsoft Internet Explorer and Microsoft Edge.