Uma iniciativa dos designers da web para informar os utilizadores sobre as atualizações dos browsers

Customize e teste

Teste o script

If you open your website with #test-bu appended to the url, the bar will always show up. Example: Make sure the page is properly reloaded by opening the url in an new browser tab.


As seguintes opções podem ser passadas para o script:

$buoop = {
    notify: {i:8,f:25,o:17,s:9,c:22},  
    // Specifies browser versions to notify. Negative numbers specify how much versions behind current version to notify.
    // f:22 ---> Firefox <= 22
    // c:-5 ---> Chrome <= 35 if current Chrome version is 40.
    // c:"-5m" ---> Chrome versions which are older than 3 months

    reminder: 24,                  
    // after how many hours should the message reappear
    // 0 = mostra o tempo todo

    reminderClosed: 150,           
    // if the user explicitly closes message it reappears after x hours

    onshow: function(infos){},     
    onclick: function(infos){},
    onclose: function(infos){},
    // callback functions after notification has appeared / was clicked / closed

    l: false,                       
    // set a fixed language for the message, e.g. "en". This overrides the default detection.

    test: false,                    
    // true = sempre mostra a barra (para testes)

    text: "",                       
    // texto de notificação customizado (html)
    // Placeholders {brow_name} will be replaced with the browser name, {up_but} with contents of the update link tag and {ignore_but} with contents for the ignore link.
    // Exemplo: Your browser, {brow_name}, is too old: <a{up_but}>update</a> or <a{ignore_but}>ignore</a>.

    text_xx: "",                    
    // texto de notificação customizado para linguagem "xx"
    // ex.: text_de para alemão e text_it para italiano

    newwindow: true,                
    // abre o link em uma nova janela/aba

    url: null,                      
    // the url to go to after clicking the notification

    // Do not show the "ignore" button to close the notification

    nomessage: false,               
    // Do not show a message if the browser is out of date, just call the onshow callback function

    jsshowurl: "//", 
    // URL where the script, that shows the notification, is located. This is only loaded if the user actually has an outdated browser.

    container: document.body, 
    // DOM Element where the notification will be injected.

    api: xxx                        
    // This is the version of the browser-update api to use. Please do not remove.


Mudar o estilo

The following CSS rules are applied by the notification. You can overwrite them in your own CSS. To do so you need to add some more specificity to the css-rules: e.g. body .buorg {font-size:20px}

.buorg {
    background-position: 8px 17px; 
    border-bottom:1px solid #A29330;    
    background-color: #fff8ea;    
    font: 17px Calibri,Helvetica,Arial,sans-serif;    
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
.buorg div { 
    padding: 11px 12px 11px 30px;  
    line-height: 1.7em; 
.buorg div a,.buorg div a:visited { 
    text-indent: 0; 
    color: #fff;    
    text-decoration: none;    
    box-shadow: 0 0 2px rgba(0,0,0,0.4);    
    padding: 1px 10px;    
    border-radius: 4px;    
    font-weight: normal;    
    background: #5ab400;    
    white-space: nowrap;   
    margin: 0 2px; display: inline-block;

    background-color: #edbc68;

@media only screen and (max-width: 700px){
.buorg div { 
    padding:5px 12px 5px 9px; 
    text-indent: 22px;
    line-height: 1.3em;
.buorg {
    background-position: 9px 8px;}