Skip to content

Commit

Permalink
add bibmatcher to the popup menu
Browse files Browse the repository at this point in the history
  • Loading branch information
vict0rsch committed Oct 17, 2023
1 parent 6c9b0cf commit 3f8f79c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
6 changes: 6 additions & 0 deletions src/popup/js/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,12 @@ const popupMain = async (url, is, manualTrigger = false, tab = null) => {
url: chrome.extension.getURL("src/fullMemory/fullMemory.html"),
});
});
// Set BibMatcher page link
addListener("bib-matcher", "click", () => {
chrome.tabs.create({
url: chrome.extension.getURL("src/fullMemory/bibMatcher.html"),
});
});

// Set PDF title function
// setAndHandleCustomPDFFunction(menu);
Expand Down
2 changes: 1 addition & 1 deletion src/popup/min/popup.min.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/popup/min/popup.min.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/popup/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,10 @@ <h5>Functionalities</h5>

<h3 class="mt-4">⋗ Advanced</h3>

<p>Open the <a href="#" id="bib-matcher">PaperMemory BibMatcher</a> page to match the ArXiv entries of your
<code>.bib</code> file to a publication.
</p>

<p>Open your <a href="#" id="full-memory">full-page memory</a> to explore papers more easily, in a dedicated
tab.</p>

Expand Down

0 comments on commit 3f8f79c

Please sign in to comment.