Skip to content

Commit

Permalink
Deploy preview for PR 14 🛫
Browse files Browse the repository at this point in the history
  • Loading branch information
felixindynamsoft committed Nov 18, 2024
1 parent b5bced6 commit 31d7675
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
30 changes: 29 additions & 1 deletion pr-preview/pr-14/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google Tag Manager -->
<script>
if (!navigator.webdriver) {
setTimeout(() => {
(function (w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({ "gtm.start": new Date().getTime(), event: "gtm.js" });
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != "dataLayer" ? "&l=" + l : "";
j.async = true;
j.src = "//www.googletagmanager.com/gtm.js?id=" + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, "script", "dataLayer", "GTM-538F83");
}, 0);
}
</script>
<!-- End Google Tag Manager -->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Dynamsoft MRZ Scanner for Web</title>
Expand Down Expand Up @@ -83,7 +101,7 @@ <h3 style="font-weight: normal">Quick Start Options</h3>
<path d="M11 12h1v4h1" />
</svg>
</div>
<div class="information-list">
<div class="information-list" style="display: none">
<a
class="information-item"
href="https://www.dynamsoft.com/use-cases/mrz-scanner/?utm_source=mrzdemo&package=js"
Expand Down Expand Up @@ -338,6 +356,16 @@ <h3 style="font-weight: normal">Quick Start Options</h3>
<script src="./js/const.js"></script>
<script type="module" src="./js/init.js"></script>
<script type="module" src="./js/index.js"></script>
<!-- Google Tag Manager -->
<noscript>
<iframe
src="https://www.googletagmanager.com/ns.html?id=GTM-538F83"
height="0"
width="0"
style="display: none; visibility: hidden"
></iframe>
</noscript>
<!-- End Google Tag Manager -->
<div style="background-repeat: no-repeat; background-position: 0px 0px; margin: 0; padding: 0px 0px 0px 0px">
<!--Begin Comm100 Live Chat Code-->
<div id="comm100-button-20242b05-3781-4d86-9b7f-fab63ddcdde3"></div>
Expand Down
4 changes: 3 additions & 1 deletion pr-preview/pr-14/js/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ const pDataLoad = createPendingPromise();
/** LICENSE ALERT - README
* To use the library, you need to first specify a license key using the API "initLicense" as shown below.
*/
Dynamsoft.License.LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9");
Dynamsoft.License.LicenseManager.initLicense(
"DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAwLTEwMzAwNjk2NyIsIm1haW5TZXJ2ZXJVUkwiOiJodHRwczovL21sdHMuZHluYW1zb2Z0LmNvbS8iLCJvcmdhbml6YXRpb25JRCI6IjIwMDAwMCIsInNlc3Npb25QYXNzd29yZCI6IkVUSHZVNlNPV3F3ZiIsInN0YW5kYnlTZXJ2ZXJVUkwiOiJodHRwczovL3NsdHMuZHluYW1zb2Z0LmNvbS8iLCJjaGVja0NvZGUiOjM5OTMzODU2Nn0="
);
/**
* You can visit https://www.dynamsoft.com/customer/license/trialLicense/?product=mrz&utm_source=docs&package=js to get your own trial license good for 30 days.
* Note that if you downloaded this sample from Dynamsoft while logged in, the above license key may already be your own 30-day trial license.
Expand Down

0 comments on commit 31d7675

Please sign in to comment.