Trago hoje uma solução genérica para criar um link que adicione um site aos favoritos do browser. Esta solução requer o uso da biblioteca JQuery, e é suportada pelos seguintes browsers :
- Internet Explorer
- Firefox
- Opera
Abaixo segue o script em javascript que executa o código, e o markup necessário para que funcione.
Javascript :
Código (Javascript):
<script type="text/javascript" src="http://xiglute.com/js/jquery-1.1.3.1.min.js"></script>
<script>
$(function() {
$("a.bookmark").click(function(e) {
if ($.browser.opera == false) {
e.preventDefault();
var url = this.href;
var title = this.title;
if ($.browser.mozilla == true) {
window.sidebar.addPanel(title, url, '');
return false;
} else if($.browser.msie == true) {
window.external.AddFavorite( url, title);
return false;
} else {
var o = $('a.bookmark').offset();
alert('Use as teclas CTRL + D para adicionar aos favoritos.');
}
}
});
});</script>
Código (HTML):
<a href="#" title="Nome do Website" class="bookmark" rel="sidebar">Adicionar aos Favoritos</a>
Notas :
- O atributo "rel" no markup é necessário para que o Opera reconheça o objectivo do link e execute a função de adição aos favoritos. Não é realmente necessário o uso de javascript no Opera para esta funcionalidade, apenas este atributo.
- A classe "bookmark" pode ser alterada para outra ao gosto, desde que seja convenientemente substituída no javascript para ser reconhecida pelo mesmo.
- O atributo "title" no markup irá ser usado como nome do bookmark, ou seja, será o nome indicado para ser gravado como pertencente ao site. O título do site é uma boa opção.
- Caso o browser onde o script é executado não seja nenhum dos 3 acima mencionados, o script irá executar o alert() presente no javascript : "Use as teclas CTRL + D para adicionar aos favoritos."
Xo สล็อตออนไลน์ โปรสล็อต XO เกมออนไลน์ทำเงินยอดฮิตเกมสล็อต xopg.net คือเกมทำเงิน reeffutures2018 ผ่านทางออนไลน์อย่างหนึ่ง ที่เล่นง่าย และได้เงินไว แถมยังลงทุนด้วยเงินน้อย mavoixtavoie ทำเงินได้ตลอดเวลา ซึ่งหลายคนอาจได้เคยเห็นรีวิวเรื่องของ สล็อต xo สล็อตออนไลน์ ไว้มากมาย เทคนิคสล็อต ทั้งเรื่องการเล่นแล้วได้เงิน herbalpertpresents และเล่น สล็อต แล้วไม่ได้เงิน นั่นเองค่ะ ซึ่งการที่คุณจะเล่นได้เงินหรือไม่ได้เงินนั้น essentialsforasoul ส่วนหนึ่งก็เป็นในเรื่องของดวงเข้ามาเกี่ยวด้วย northbristol เพราะสล็อตเป็นเกมออนไลน์เสี่ยงโชค ทดลองเล่น xo เกมหนึ่งซึ่งจะมีสูตร หรือเทคนิคเข้ามาช่วย gclub เพื่อโกงดวงอยู่เสมอซึ่งในเว็บของเรา สมัคร xo ก็มีมาแนะนำไว้ให้เห็นกันมากมายหลายสูตร
Buy Counterfeit Money Online, Best Quality Counterfeit Currencies-WhatsApp :+1(301) 264-8876- BUY Counterfeit Notes Of All Currencies
Email [email protected]
Info: [email protected] Undetectable Counterfeit Money
Buy £10 Bills Online--Buy £20 Bills Online--Buy £5 Bills Online--Buy £50 Bills Online--Buy AUD $10 Bills Online--Buy AUD $100 Bills Online
Buy AUD $20 Bills Online--Buy AUD $5 Bills Online--Buy AUD $50 Bills Online--Buy CAD $10 Bills Online[/url--[url=https://onlinefastdocs.com/product/4160buy-canadian-100-dollar-bills/]Buy CAD $100 Bills Online--Buy CAD $10 Bills Online--Buy CAD $20 Bills Online--Buy USD $20 Bills Online--Buy USD 50 Bills Online --$100 Bills Highest Quality Best Fake Money 50 Bills | $5000
Buy Fake Undetectable Money From Us CONTACT US NOW
[img="https://onlinefastdocs.com/wp-content/uploads/2022/02/5b51f5ffacb5925749973-l.jpg" alt=""]
Buy counterfeit money from us and get unmatched quality. Many spend huge amounts trying to buy counterfeit money online but end up getting worthless paper. Buy counterfeit Bills Online has taken banknote printing as an art and that is why they have the best undetectable specialized banknotes that cannot be traced easily by machines.
Invest with Us and you will have the opportunity to print real currency.
The Banknotes can be used freely in shopping malls, hospitals, CVS Pharmacies, small shops and filling stations. It should not be stored in Banks though because they have a lifespan of just 8months .
Buy counterfeit money online and benefit from the many great prices we have to offer. Contact today to buy undetectable counterfeit money that looks real
WhatsApp :+1(301) 264-8876
Email [email protected]
Info: [email protected]
Visit Our Website: https://onlinefastdocs.com/
Contact Us: https://onlinefastdocs.com/contact-us-documents-online/
Application Form: https://onlinefastdocs.com/order-form/
Apply And Buy a Registered Passport & Driver's License From The Comfort Of Your Home
[img="https://onlinefastdocs.com/wp-content/uploads/2022/02/uk4-e1651799754554.png" alt=""] [img="https://onlinefastdocs.com/wp-content/uploads/2022/03/german-passport-560x380-1-e1651799993288.jpg" alt=""]
Driver's License------------- Passports ------- Buy Fake Undetectable Money From Us
We also produce real database registered documents which we register all the client’s information in the supposed database system.
Everything will be genuine and the client can legally use the document without any problems.
This real documents shall pass all airport scans and other data reading machines.
When ever this real document is checked, all the client’s information will show up in the supposed database system.
Buy Registered British Driving Licence. -
Buy Registered French Passports-Buy Registered Denmark Passports-
Buy Registered USA Passports-Buy Registered Japanese Passports-Buy Registered Chinese Passports-Buy Registered Austria Passports-
Buy Registered Canadian Driver’s License -Buy Registered French Driver’s License -Buy Registered Denmark Driver’s License -
Buy Registered USA Driver’s License -Buy Registered Japanese Driver’s License.[/url-][url=https://vipdocumentsonline.com/ ]Buy Registered Chinese Driver’s License
Buy Registered Austria Driver’s License
Buy Registered British Passports.Buy Registered Canadian Passports
WhatsApp :+1(301) 264-8876
Email [email protected]
Info: [email protected]
Visit Our Website: https://onlinefastdocs.com/
Contact Us: https://onlinefastdocs.com/contact-us-documents-online/
Application Form: https://onlinefastdocs.com/order-form/
This is exciting, nevertheless it is vital for you to visit this specific url: 사설토토
This is very interesting content! I have thoroughly enjoyed reading your points and have come to the conclusion that you are right about many of them. You are great. 안전놀이터
I can recommend primarily decent and even responsible tips, as a result view it: 토토커뮤니티
This is exciting, nevertheless it is vital for you to visit this specific url: 꽁머니사이트
These websites are really needed, you can learn a lot. 링크찾기
This is very useful, although it will be important to help simply click that web page link: 링크찾기
You ought to basically fantastic not to mention solid advice, which means notice: 링크사이트
there is no other disease that can really annoy your face, pimples really suck. 토토사이트
Glad to be one of many visitants on this awesome site : D. 먹튀인증
you have a great weblog here! do you need to have invite posts in my blog? 토토커뮤니티
Unquestionably believe that which you stated. Your favorite justification appeared to be on the internet the easiest thing to be aware of. I say to you, I certainly get irked while people consider worries that they just don’t know about. You managed to hit the nail upon the top and also defined out the whole thing without having side effect , people can take a signal. Will probably be back to get more. Thanks 꽁머니
You ought to indulge in a contest for just one of the best blogs on the internet. Let me suggest this site! 꽁머니
Hi there, I discovered your blog per Google bit searching for such kinda educational advise moreover your inform beholds very remarkable for me. 토토커뮤니티
I like this blog so much, saved to bookmarks . 먹튀검증
I conceive you have noted some very interesting details , thanks for the post. 굿벳
Appreciate your sharing the right go over that, I think truly regarding coupled with adore exploring much more about that topic. In case prospective, because arrive at practical knowledge, do you brain improving a person’s web site due to furthermore information and facts? This is of great help for everyone. 주사위토토
I use basically superior fabrics : you will discover these products by: 토토커뮤니티
I got too much interesting stuff on your blog. I guess I am not the only one having all the enjoyment here! Keep up the good work. 토토커뮤니티