Code Snippets by Patrik

Change URL in Browser Address Bar

The following script will change the URL in the browser address bar. This includes updating the title and the link.

<script type="text/javascript">
function ChangeUrl(title, url) {
        if (typeof (history.pushState) != "undefined") {
            var obj = { Title: title, Url: url };
        history.pushState(obj, obj.Title, obj.Url);
    } else {
        alert("Browser does not support HTML5.");
    }
}
ChangeUrl("Title", "Link");
</script>


Comments (10)

Eugenebes

3/22/2024 5:58:57 AM
Big to you thanks for the help in this question. I did not know it. mindfulness mmfporn.com/tags/clit-percing/ @456FgDDY8

Eugenebes

3/22/2024 2:09:32 AM
Bravo, excellent idea and is duly guardianship https://mmfporn.com/tags/villa-anderson/ @456FgDDY8

Eugenebes

3/21/2024 10:20:04 PM
Absolutely with you it agree. Idea excellent, I support. guardianship https://mmfporn.com/tags/soft-to-hard/ @456FgDDY8

Victorjfx

3/21/2024 10:10:30 PM
Where is admin? It is about advertisement on your website. Thank.

LhaneKeect

3/21/2024 7:27:32 PM
Hey! Would you mind if I share your blog with my myspace group? There's a lot of people that I think would really enjoy your content. Please let me know. Many thanks <a href=https://garrettmzgi80368.blogdemls.com/25799857/que-factores-de-estilo-de-vida-pueden-influir-en-la-eficacia-de-rybelsus-para-la-perdida-de-peso>Rybelsus</a><a href=https://trevorvzyu01234.nizarblog.com/26150325/rybelsus-label>Rybelsus</a><a href=https://ricardoaumd22110.bluxeblog.com/57898938/rybelsus-administration-proper-usage-and-administration-techniques>Rybelsus</a><a href=https://johnathanqoia11111.arwebo.com/48996108/rybelsus-tiene-algun-impacto-en-la-composicion-corporal-ademas-de-la-perdida-de-peso>Rybelsus</a><a href=https://edgarhexo76666.blogunok.com/26233652/rybelsus-diabetic-medication>Rybelsus</a>

Victorjfx

3/21/2024 3:06:58 PM
Where is admin? I'ts important. Thank.

Victorjfx

3/20/2024 10:45:14 PM
Can I contact Administration? I'ts important. Thank.

Rickeyhoora

3/20/2024 6:51:14 PM
Manchester City comes from behind to defeat rival Manchester United 3-1 [url=https://csgo2run.ru]cs go run[/url] Manchester City came from behind to defeat Manchester United 3-1 and keep the pace on Liverpool in the English Premier League title race. In an entertaining Manchester Derby on Sunday, Phil Foden scored twice in the second half – the first a stunning strike from outside the box and the second a neat finish from a tight angle – to send City on the way to a crucial victory. Rashford gave United a shock lead in the first half when his thundering, long-range effort from around 30 yards out went in off the crossbar. But fellow England international Foden responded with an exceptional goal of his own in the 57th minute before putting City in front in the final 10 minutes having linked up with Julian Alvarez. By now, the home side was in control of the match, and when Sofyan Amrabat was dispossessed by Rodri close to the United goal, Erling Haaland was ab

CalvinDub

3/20/2024 5:45:01 PM
Manchester City comes from behind to defeat rival Manchester United 3-1 [url=https://csgo2run.ru]csgo run[/url] Manchester City came from behind to defeat Manchester United 3-1 and keep the pace on Liverpool in the English Premier League title race. In an entertaining Manchester Derby on Sunday, Phil Foden scored twice in the second half – the first a stunning strike from outside the box and the second a neat finish from a tight angle – to send City on the way to a crucial victory. Rashford gave United a shock lead in the first half when his thundering, long-range effort from around 30 yards out went in off the crossbar. But fellow England international Foden responded with an exceptional goal of his own in the 57th minute before putting City in front in the final 10 minutes having linked up with Julian Alvarez. By now, the home side was in control of the match, and when Sofyan Amrabat was dispossessed by Rodri close to the United goal, Erling Haaland was abl

pletcherjtn

3/20/2024 4:43:44 PM
I recently desired to share with everyone here that I have run into some truly amazing insights and discussions about this forum. The amount of engagement and knowledge sharing is actually outstanding! I am genuinely impressed by the thoughtful responses therefore the feeling of community here. It's truly inspiring to be an integral part of such an exciting platform where ideas flow freely and everyone is so supportive. Thank you to all the the contributors for making this forum such an invaluable resource. Let us continue steadily to study on each other and grow together. Listed here is to a lot of more insightful conversations ahead! Feel free to customize it to match the specific context regarding the forum you may be posting on! AD: [url=https://xn--cities-skylines-2830b073a.hkiva.top/3613388773.html]放債 人 條例 中介[/url] [url=https://xn--hk-403cu6kjz9cx43a.drphk.top/3924280342.html]超出信貸限額[/url] [url=https://xn--hk-403cu6kjz9cx43a.drp

Leave a Comment

All fields are required. Your email address will not be published.