Hallo Zusammmen
Ich möchte auf meiner Webseite Initiative “pro Firefox” einbinden, hab dazu auch schon den Code angepasst.
Leider wird noch keine Leiste angezeigt, unten ist der Code.
Code
<script type="text/javascript">
(function()
{
var fxjs = document.createElement('script');
var proFirefoxOptions = {'msie_cur_version': 'notice',
'msie_low_version': 'notice',
'msie_lower_version': 'notice',
'chrome_cur_version': 'notice',
'chrome_low_version': 'notice',
'chrome_lower_version': 'notice',
'opera_cur_version': 'notice',
'opera_low_version': 'notice',
'opera_lower_version': 'notice',
'safari_cur_version': 'info',
'safari_low_version': 'warn',
'safari_lower_version': 'warn',
'other': 'notice',
'notice_text': 'Du benutzt den Browser <strong>{BROWSER}</strong> in der Version <strong>{VERSION}</strong>. Wir empfehlen dringend Nutzung von {FFLINK} {FFVERSION}.',
'info_text': 'Vielen Dank für das Benutzer von Safari, viel Spass noch mit diesem tollen Browser.',
'warn_text': 'Du benutzt eine veraltete Version ({VERSION}) des Browsers <strong>{BROWSER}</strong>, wir empfehlen dringend ein Update auf {UPDATELINK}.' };
fxjs.src = (('https:' == document.location.protocol) ? 'https' : 'http') + '://www.soeren-hentzschel.at/profirefox/profirefox_nojq-min.js';
fxjs.setAttribute('type', 'text/javascript');
fxjs.setAttribute('async', 'true');
document.getElementsByTagName('head')[0].appendChild(fxjs);
})();
</script>
Alles anzeigen
Findet jemand den Fehler?
Zusammen mit meinem restlichen Code und mit HTML Syntax findet ihr den Code hier => http://pastebin.com/7txsP1uA
Ich wäre um jede Hilfe dankbar.