| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 76ef9ec commit 83099bb
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -295,6 +295,15 @@ | |||
| 295 | 295 | alert('URLs copied to clipboard!'); | |
| 296 | 296 | } | |
| 297 | 297 | ||
| 298 | + function openURLs(urls) { | ||
| 299 | + if (urls.length === 0) { | ||
| 300 | + alert('No claim URLs found to open.'); | ||
| 301 | + return; | ||
| 302 | + } | ||
| 303 | + | ||
| 304 | + urls.forEach((url) => GM_openInTab(url, { active: false })); | ||
| 305 | + } | ||
| 306 | + | ||
| 298 | 307 | function createUtilityButtons() { | |
| 299 | 308 | const containerId = 'apgh-utility-buttons-container'; | |
| 300 | 309 | ||
@@ -382,7 +391,7 @@ | |||
| 382 | 391 | ||
| 383 | 392 | const openButton = createButton('Open Claim URLs', () => { | |
| 384 | 393 | const urls = collectClaimURLs(); | |
| 385 | - urls.forEach((url) => GM_openInTab(url, { active: false })); | ||
| 394 | + openURLs(urls); | ||
| 386 | 395 | }); | |
| 387 | 396 | ||
| 388 | 397 | const updateContainerVisibility = () => { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments