Skip to content

Instantly share code, notes, and snippets.

@Joseph-N
Last active November 14, 2020 15:59
Show Gist options
  • Save Joseph-N/0679fab995a650d65e94165a93c04ed6 to your computer and use it in GitHub Desktop.
Save Joseph-N/0679fab995a650d65e94165a93c04ed6 to your computer and use it in GitHub Desktop.
Embedding the plagdetector smart widget
<script type="text/javascript">
window.onload = function(){
new PDWidget({user_id: '10' }).render("#plagdetector-container");
}
</script>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Plagdetector Embed Widget</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script id="plagdetector-widget" src="https://plagdetector.com/embed.js?client_id=CLIENT_ID"></script>
</head>
<body></body>
</html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Plagdetector Embed Widget</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script id="plagdetector-widget" src="https://plagdetector.com/embed.js?client_id=CLIENT_ID"></script>
<script type="text/javascript">
window.onload = function(){
new PDWidget().render("#plagdetector-container");
}
</script>
</head>
<body>
<div id="plagdetector-container"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment