MCPcopy Index your code
hub / github.com/ChinaGodMan/UserScripts / navigateTo

Function navigateTo

greasyfork-link/greasyfork-link.user.js:256–262  ·  view source on GitHub ↗
(url, useWindowOpen)

Source from the content-addressed store, hash-verified

254 }
255
256 function navigateTo(url, useWindowOpen) {
257 if (useWindowOpen) {
258 window.open(url, '_blank')
259 } else {
260 window.location.href = url
261 }
262 }
263
264 const ddElements = document.querySelectorAll('dd.script-show-applies-to ul.block-list.expandable > li')
265

Callers 1

handleLinkClickFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected