Skip to content

Commit

Permalink
ready for v1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
aborel committed Jun 12, 2023
1 parent 4b5fff1 commit a637fef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@

## Use cases
- Zenodo EPFL community curation zenodo_checklist.html
- Zenodo EPFL community curation within the Zenodo record: zenodo_greasemonkey.user.js (Greasemonkey/Tampermonkey user script, install the browser plugin first, then copy the code into a new user script)
9 changes: 4 additions & 5 deletions zenodo_greasemonkey.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// @include https://zenodo.org/record/*
// @include https://sandbox.zenodo.org/record/*
// @grant none
// @version 1
// @version 1.1
// ==/UserScript==

// TODO use https://stackoverflow.com/questions/18231259/how-to-take-screen-shot-of-current-webpage-using-javascript-jquery
Expand Down Expand Up @@ -231,9 +231,7 @@ function addButtons() {
})
.catch(err => console.error(err));

});


});

var menu = document.getElementsByClassName("col-sm-4 col-md-4 col-right")[0];
var metadata = document.getElementsByClassName("well metadata")[0];
Expand Down Expand Up @@ -392,9 +390,10 @@ function addButtons() {
}

contentElement.prepend(contentChecks);

}


function openMailEditor(url) {
location.href = url;
}
Expand Down

0 comments on commit a637fef

Please sign in to comment.