Commit a7b865d4 authored by  JosephK's avatar JosephK

typos + type attribute

parent c54d0e07
Pipeline #45341 passed with stages
in 1 minute and 2 seconds
......@@ -15,16 +15,16 @@
<h2>Examples</h2>
<h3>Leaderboard (728 x 90)</h3>
<div class="text-center">
<script type="text/javascript" src="sense3.js" data-sense3="728x90;;;vangogh"></script>
<script type="text/javascript" src="sense3.js" data-sense3="728x90;;;wikipedia"></script>
<pre><code>&lt;script type="text/javascript" src="sense3.js" data-sense3="728x90"&gt;&lt;/script&gt;</code></pre>
<script src="sense3.js" data-sense3="728x90;;;vangogh"></script>
<script src="sense3.js" data-sense3="728x90;;;wikipedia"></script>
<pre><code>&lt;script src="sense3.js" data-sense3="728x90"&gt;&lt;/script&gt;</code></pre>
</div>
<h3>Medium rectangle (350 x 200)</h3>
<div class="text-center">
<script type="text/javascript" src="sense3.js" data-sense3="300x250;;;vangogh"></script>
<script type="text/javascript" src="sense3.js" data-sense3="300x250;;;wikipedia"></script>
<pre><code>&lt;script type="text/javascript" src="sense3.js" data-sense3="300x250"&gt;&lt;/script&gt;</code></pre>
<script src="sense3.js" data-sense3="300x250;;;vangogh"></script>
<script src="sense3.js" data-sense3="300x250;;;wikipedia"></script>
<pre><code>&lt;script src="sense3.js" data-sense3="300x250"&gt;&lt;/script&gt;</code></pre>
</div>
<h2>Customization</h2>
......@@ -35,23 +35,23 @@
<p>You can filter the banners to be randomly displayed according to a list of allowed keywords (separated by comas)…</p>
<div class="text-center col-sm-6" style="margin:0 auto; float:none;">
<script type="text/javascript" src="sense3.js" data-sense3="300x250;chaplin,hals"></script>
<script src="sense3.js" data-sense3="300x250;chaplin,hals"></script>
<pre><code>data-sense3="300x250;chaplin,hals"</code></pre>
</div>
<p class="clearfix">… or choose one specific banner to display.</p>
<div class="text-center col-sm-6">
<script type="text/javascript" src="sense3.js" data-sense3="300x250;;;mastodon"></script>
<script src="sense3.js" data-sense3="300x250;;;mastodon"></script>
<pre><code>data-sense3="300x250;;;mastodon"</code></pre>
</div>
<div class="text-center col-sm-6">
<script type="text/javascript" src="sense3.js" data-sense3="300x250;;;dioGafam"></script>
<script src="sense3.js" data-sense3="300x250;;;dioGafam"></script>
<pre><code>data-sense3="300x250;;;dioGafam"</code></pre>
</div>
<p class="clearfix">… this one can be useful</p>
<div class="text-center">
<script type="text/javascript" src="/sense3/sense3.js" data-sense3="728x90;;;showInfos"></script>
<script src="/sense3/sense3.js" data-sense3="728x90;;;showInfos"></script>
<pre><code>data-sense3="728x90;;;showInfos"</code></pre>
</div>
......@@ -95,61 +95,61 @@
<h4>Examples from FramAdsense (for April Fools' Day)</h4>
<div class="text-center">
<h5>Default</h5>
<script type="text/javascript" src="sense3.js" data-sense3="728x90;wikipedia;#FFF,#6A5687,#616161,#757575,#6A5687,#D3C5E8"></script>
<script src="sense3.js" data-sense3="728x90;wikipedia;#FFF,#6A5687,#616161,#757575,#6A5687,#D3C5E8"></script>
<pre><code>data-sense3="728x90;;#FFFFFF,#6A5687,#616161,#757575,#6A5687,#D3C5E8"</code></pre>
</div>
<div class="text-center col-sm-6">
<h5>Peertube</h5>
<script type="text/javascript" src="sense3.js" data-sense3="300x250;wikipedia;#FFFFFF,#F1680D,#616161,#757575,#F1680D,#F1680D"></script>
<script src="sense3.js" data-sense3="300x250;wikipedia;#FFFFFF,#F1680D,#616161,#757575,#F1680D,#F1680D"></script>
<pre><code>data-sense3="300x250;;#FFFFFF,#F1680D,#616161,#757575,#F1680D,#F1680D"</code></pre>
</div>
<div class="text-center col-sm-6">
<h5>Framaporn</h5>
<script type="text/javascript" src="sense3.js" data-sense3="300x250;wikipedia;#FFF,#EF7896,#757776,#757575,#EF7896,#EF7896"></script>
<script src="sense3.js" data-sense3="300x250;wikipedia;#FFF,#EF7896,#757776,#757575,#EF7896,#EF7896"></script>
<pre><code>data-sense3="300x250;;#FFF,#EF7896,#757776,#757575,#EF7896,#EF7896"</code></pre>
</div>
<h4>Examples from Google Adsense</h4>
<div class="text-center col-sm-6">
<h5>Default</h5>
<script type="text/javascript" src="sense3.js" data-sense3="300x250;wikipedia;#FFF,#3F7DFB,#000,#A1A1A1,#5B99FE,#F3F3F3"></script>
<script src="sense3.js" data-sense3="300x250;wikipedia;#FFF,#3F7DFB,#000,#A1A1A1,#5B99FE,#F3F3F3"></script>
<pre><code>data-sense3="300x250;;#FFF,#3F7DFB,#000,#A1A1A1,#5B99FE,#F3F3F3"</code></pre>
</div>
<div class="text-center col-sm-6">
<h5>Minimalist</h5>
<script type="text/javascript" src="sense3.js" data-sense3="300x250;wikipedia;#FFF,#212121,#838383,#858585,#C3C3C3,#E0E0E0"></script>
<script src="sense3.js" data-sense3="300x250;wikipedia;#FFF,#212121,#838383,#858585,#C3C3C3,#E0E0E0"></script>
<pre><code>data-sense3="300x250;;#FFF,#212121,#838383,#858585,#C3C3C3,#E0E0E0"</code></pre>
</div>
<div class="text-center col-sm-6">
<h5>Splash of color</h5>
<script type="text/javascript" src="sense3.js" data-sense3="300x250;wikipedia;#F1F1F1,#4A4A4A,#5E5E5E,#49C4A5,#BABABA,#F1F1F1"></script>
<script src="sense3.js" data-sense3="300x250;wikipedia;#F1F1F1,#4A4A4A,#5E5E5E,#49C4A5,#BABABA,#F1F1F1"></script>
<pre><code>data-sense3="300x250;;#F1F1F1,#4A4A4A,#5E5E5E,#49C4A5,#BABABA,#F1F1F1"</code></pre>
</div>
<div class="text-center col-sm-6">
<h5>Prestige</h5>
<script type="text/javascript" src="sense3.js" data-sense3="300x250;wikipedia;#000000,#F7F7F7,#CBCBCB,#707070,#444444,#ffffff"></script>
<script src="sense3.js" data-sense3="300x250;wikipedia;#000000,#F7F7F7,#CBCBCB,#707070,#444444,#ffffff"></script>
<pre><code>data-sense3="300x250;;#000000,#F7F7F7,#CBCBCB,#707070,#444444,#ffffff"</code></pre>
</div>
<div class="text-center col-sm-6">
<h5>Colorful</h5>
<script type="text/javascript" src="sense3.js" data-sense3="300x250;wikipedia;#4D90FE,#FFFFFF,#FFFFFF,#9DC3FF,#9DC3FF,#4D90FE"></script>
<script src="sense3.js" data-sense3="300x250;wikipedia;#4D90FE,#FFFFFF,#FFFFFF,#9DC3FF,#9DC3FF,#4D90FE"></script>
<pre><code>data-sense3="300x250;;#4D90FE,#FFFFFF,#FFFFFF,#9DC3FF,#9DC3FF,#4D90FE"</code></pre>
</div>
<div class="text-center col-sm-6">
<h5>Dark blue reverse</h5>
<script type="text/javascript" src="sense3.js" data-sense3="300x250;wikipedia;#336699,#FFFFFF,#FFFFFF,#6FA2C1,#6FA2C1,#336699"></script>
<script src="sense3.js" data-sense3="300x250;wikipedia;#336699,#FFFFFF,#FFFFFF,#6FA2C1,#6FA2C1,#336699"></script>
<pre><code>data-sense3="300x250;;#336699,#FFFFFF,#FFFFFF,#6FA2C1,#6FA2C1,#336699"</code></pre>
</div>
<div class="text-center col-sm-6">
<h5>Notepad</h5>
<script type="text/javascript" src="sense3.js" data-sense3="300x250;wikipedia;#FFFEEB,#8C6239,#75746E,#C7B295,#C5B092,#8C6239"></script>
<script src="sense3.js" data-sense3="300x250;wikipedia;#FFFEEB,#8C6239,#75746E,#C7B295,#C5B092,#8C6239"></script>
<pre><code>data-sense3="300x250;;#FFFEEB,#8C6239,#75746E,#C7B295,#C5B092,#8C6239"</code></pre>
</div>
<div class="text-center col-sm-6">
<h5>Neon</h5>
<script type="text/javascript" src="sense3.js" data-sense3="300x250;wikipedia;#000000,#FA8BDF,#FA8BDF,#731B50,#8C2367,#8C2367"></script>
<script src="sense3.js" data-sense3="300x250;wikipedia;#000000,#FA8BDF,#FA8BDF,#731B50,#8C2367,#8C2367"></script>
<pre><code>data-sense3="300x250;;#000000,#FA8BDF,#FA8BDF,#731B50,#8C2367,#8C2367"</code></pre>
</div>
<div class="clearfix"></div>
......
......@@ -197,10 +197,10 @@
}
}
</style>
<script type="text/javascript" src="bowser.min.js"></script>
<script src="bowser.min.js"></script>
</head>
<body>
<div id="bottomAd" style="font-size: 2px;">&nbsp;</div>
<script type="text/javascript" src="sense3.js"></script>
<script src="sense3.js"></script>
</body>
</html>
......@@ -51,7 +51,7 @@
fbanner: 'Forcer une bannière',
none: 'Aucune (aléatoire)',
tags: 'Mots-clés',
tagsHelp: 'Il est possible de restreintre les critères de détection. Si vous ne voulez afficher que des fausses pubs concernant Firefox et Linux par exemple et exclure tout le reste, il vous faudra juste cocher <code>firefox</code> et <code>linux</code> parmi les mots-clés. Évidemment, si le visiteur est déjà sous Firefox et Linux, l’image par défaut sera affichée.',
tagsHelp: 'Il est possible de restreindre les critères de détection. Si vous ne voulez afficher que des fausses pubs concernant Firefox et Linux par exemple et exclure tout le reste, il vous faudra juste cocher <code>firefox</code> et <code>linux</code> parmi les mots-clés. Évidemment, si le visiteur est déjà sous Firefox et Linux, l’image par défaut sera affichée.',
colors: 'Couleurs',
colorsHelp: 'Les couleurs ne s’appliquent qu’aux bannières textuelles.',
background: 'Arrière-plan',
......@@ -144,7 +144,7 @@
link: { xx: 'https://framabookin.org' },
text: {
en: ['Thanks for buying from Amazon', 'And thanks for your personal data!'],
fr: ['Merci pour vos achats chez Amazon', 'Et merci pour vous données personnelles !'],
fr: ['Merci pour vos achats chez Amazon', 'Et merci pour vos données personnelles !'],
},
tags: ['referrer', 'amazon', 'gafam', 'framabookin'],
},
......@@ -270,8 +270,8 @@
fr: 'https://addons.mozilla.org/fr/firefox/addon/ublock-origin/',
},
text: {
en: ['Please, block this ad', 'Install Ublock Origins'],
fr: ['S’il te plaît, bloque cette pub…', 'Installe Ublock Origins'],
en: ['Please, block this ad', 'Install uBlock Origins'],
fr: ['S’il te plaît, bloque cette pub…', 'Installe uBlock Origins'],
},
tags: ['browser', 'adblock', 'advertising', 'mozilla', 'firefox'],
},
......@@ -985,7 +985,7 @@ function sense3Generate() { // eslint-disable-line no-unused-vars
params = `${params};${tags.join()};${colors.join()};${force}`;
params = params.replace(sense3DefaultColors, '').replace(/(;+)$/, '');
const code = `<script type="text/javascript" src="${sense3Baseurl}sense3.js" data-sense3="${params}"></script>`;
const code = `<script src="${sense3Baseurl}sense3.js" data-sense3="${params}"></script>`;
$('#sense3_code code').text(code);
$('#sense3_code #preview').html(code);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment