
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@dbmdz/mirador-canvaslink
Advanced tools
Adds an extra button to every window that displays a link to the currently shown canvas.
Adds an extra button to every window that displays a link to the currently shown canvas. The URL will look like this:
<canvas uri>/view
NOTE: This means that the server serving the manifest needs a rule for resolving this URL.
You can find production-ready build artifacts in the releases section.
Alternatively, you can use npm
to install the artifacts:
$ npm install @dbmdz/mirador-canvaslink
If you have a Java Web-Application managed with mvn
, there is also a WebJar, which can be included as follows:
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>dbmdz__mirador-canvaslink</artifactId>
<version>{set to current version}</version>
</dependency>
<link rel="stylesheet" type="text/css" href="<url to the plugin>/canvasLink.min.css" />
...
<script src="<url to the plugin>/canvasLink.min.js"></script>
include the ShareButtons extension - the usage is explained in the corresponding README - if you want to have some share buttons displayed in the modal dialog
configure the modal dialog containing the canvas link with the canvasLink
configuration attribute in your Mirador configuration:
var mirador = Mirador({
...
canvasLink: {
// Display an info that the website containing the Mirador instance is left by clicking on the share buttons, default is false
showShareButtonsInfo: true,
// Define the url extension appended to the canvas url, default is /view
urlExtension: '/example'
}
...
});
NOTE: The configuration key showShareButtonsInfo
is only evaluated, if you have also included the ShareButtons
extension.
FAQs
Adds an extra button to every window that displays a link to the currently shown canvas.
We found that @dbmdz/mirador-canvaslink demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.