## Result **<https://github.com/Kristinita/Kristinita.github.io#donate>** ![Kristinita's Donate Button](http://i.imgur.com/v45xXTC.png) ## Behavior User click on `Donate` button → was redirected to `Bitcoin-Redirect` page in current tab → was opened bitcoin wallet of user → in current tab was opened page, on which `Donate` button is situated. ## Solution You need use redirects. ### Source of `Donate` button [![Bitcoin Donate Button](http://Kristinita.ru/Donate-files/Bitcoin-Donate-button.png)](http://Kristinita.ru/Donate-files/Bitcoin-Redirect) If you click the image, you will go to a page **<http://Kristinita.ru/Donate-files/Bitcoin-Redirect>**. See [**answer on Meta Stack Exchange**](https://meta.stackexchange.com/a/38917/326972), how use Markdown markup for this construction. Alternative worked HTML source: <a href="http://Kristinita.ru/Donate-files/Bitcoin-Redirect"><img src="http://Kristinita.ru/Donate-files/Bitcoin-Donate-button.png"></a> ### Source of `Bitcoin-Redirect` page <script> window.location.href = "bitcoin:17uctxtsWG3gpyAy6iJ8AVd5rdSjkJH2?label=In%20the%20treatment%20of%20Sasha's%20teeth&amount=0.0037"; history.back(); </script> Use JavaScript methods [**window.location.href**](http://javascript.ru/window-location) and [**history.back**](http://javascript.ru/window.history). ## Attribute *target* not supported For HTML pages sources [**may be these**](https://github.com/Kristinita/Kristinita.github.io/blob/master/technical_texts/Bitcoin-test.md): ### `Donate` button <a href="http://Kristinita.ru/Donate-files/Bitcoin-Redirect" target="_blank"><img src="http://Kristinita.ru/Donate-files/Bitcoin-Donate-button.png"></a> ### `Bitcoin-Redirect` page <script> window.location.href = "bitcoin:17uctxtsWG3gpyAy6iJ8AVd5rdSjkJH2?label=In%20the%20treatment%20of%20Sasha's%20teeth&amount=0.0037"; close(); </script> But GitHub as of September 2016 [**not supported**](https://stackoverflow.com/questions/32359583/markdown-link-opening-in-new-tab#comment63517477_32359641) *target*. See [**page**](https://github.com/Kristinita/Kristinita.github.io/blob/master/technical_texts/Bitcoin-test.md) source in Firebug, not *target* attribute in source. ![Not supported TargetBlank](http://i.imgur.com/iJjnbWB.png)