- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for openURL (0.06 sec)
-
misc/chrome/gophertool/popup.js
function openURL(url) { chrome.tabs.create({ "url": url }) } function addLinks() { var links = document.getElementsByTagName("a"); for (var i = 0; i < links.length; i++) { var url = links[i].getAttribute("url"); if (url) links[i].addEventListener("click", function () { openURL(this.getAttribute("url")); }); } } window.addEventListener("load", function () { addLinks();
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Sun Oct 21 17:05:21 UTC 2012 - 1020 bytes - Viewed (0)