Popup A New Window When Clicking On Browser Back Button – Goback-popup

Category: Javascript | December 30, 2019
Author:zexceed12300
Views Total:789 views
Official Page:Go to website
Last Update:December 30, 2019
License:GPL-3.0

Preview:

Popup A New Window When Clicking On Browser Back Button – Goback-popup

Description:

Goback-popup is a JavaScript library that uses history() API to open a random URL in a new window as you click the back button in the browser.

How to use it:

1. Insert the randPopup.js script into the document.

<script src="randPopup.js"></script>

2. Override the default URLs in the JS.

var randURL = [
    "https://www.jqueryscript.net/",
    "https://cssscript.com/",
    "https://www.google.com/"
];

You Might Be Interested In:


Leave a Reply