PageSourceSearch

https://openwinelaw.fr/plugins/themes/owl/js/BandeauAleatoire.js?v=3.3.0.15

js openwinelaw.fr collected 2026-10-07 01:01:44 UTC 688 bytes, 11 lines download raw bytes

1document.addEventListener('DOMContentLoaded', function(){
2    // lorsque la page est chargée
3    var journal = document.getElementsByClassName('page-journal')[0]; // la page de type journal
4	if(journal !== undefined) {
5		var bandeau = journal.getElementsByClassName('imgbackalea')[0]; // le bandeau de la page journal pour lequel on veut un fond aléatoire
6		var nbImageBandeau = 8; // nombre d'images dans le sous-répertoire ./bandeaux - les images sont nommées 01.png, 02.png, 03.png, ...
7
8		var image = '0' + Math.floor(nbImageBandeau * Math.random() + 1) + '.png';
9		bandeau.style.backgroundImage = 'url("../plugins/themes/owl/images/bandeaux/Bandeau_img' + image + '")';
10	}
11}, false);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.