From f6800076dc4712472ecac766f9d1f9042d53a033 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 13 Sep 2026 06:53:14 +0000 Subject: [PATCH 1/2] Auto version bump for Version 1.0.14.35 --- plugin/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/manifest.json b/plugin/manifest.json index ce8fafa5..ba300723 100644 --- a/plugin/manifest.json +++ b/plugin/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "WebToEpub", - "version": "1.0.14.34", + "version": "1.0.14.35", "default_locale": "en", "icons": { "128": "book128.png" From b64d8147a07b2ffda902d19fcb3a7c2abdc96fce Mon Sep 17 00:00:00 2001 From: Yomafil <128907736+Yomafil@users.noreply.github.com> Date: Sun, 13 Sep 2026 09:14:27 +0200 Subject: [PATCH 2/2] change the tocUrl in InfoPage to hyperlink --- plugin/js/Parser.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugin/js/Parser.js b/plugin/js/Parser.js index 72b298ef..04dc691c 100644 --- a/plugin/js/Parser.js +++ b/plugin/js/Parser.js @@ -469,7 +469,11 @@ class Parser { let bold = document.createElement("b"); bold.textContent = UIText.Default.tableOfContentsUrl; urlElement.appendChild(bold); - urlElement.appendChild(document.createTextNode(this.state.chapterListUrl)); + let link = document.createElement("a"); + link.classList.add("webToEpub-table-of-content-url"); + link.href = this.state.chapterListUrl; + link.textContent = this.state.chapterListUrl; + urlElement.appendChild(link); div.appendChild(urlElement); let infoDiv = document.createElement("div"); this.populateInfoDiv(infoDiv, dom); @@ -704,7 +708,7 @@ class Parser { fixupHyperlinksInEpubItems(epubItems) { let targets = this.sourceUrlToEpubItemUrl(epubItems); for (let item of epubItems) { - for (let link of item.getHyperlinks().filter(this.isUnresolvedHyperlink)) { + for (let link of item.getHyperlinks().filter(this.isUnresolvedHyperlink).filter(link => !link.classList.contains("webToEpub-table-of-content-url"))) { if (!this.hyperlinkToEpubItemUrl(link, targets)) { this.makeHyperlinkAbsolute(link); }