-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathview.html
23 lines (19 loc) · 2.61 KB
/
view.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
[class~=container]{position:relative;}[class~=container],.pdf,[class~=overlay]{width:100%;}[class~=container],.pdf{height:100%;}.pdf{display:block;}*{box-sizing:border-box;}[class~=overlay]{position:absolute;}[class~=overlay]{top:0;}[class~=overlay]{background:white;}[class~=overlay]{color:#f1f1f1;}[class~=overlay]{color:white;}[class~=overlay]{transition:.5s ease;}[class~=overlay]{opacity:0;}[class~=overlay]{font-size:.208333333in;}[class~=overlay]{padding-left:15pt;}[class~=overlay]{padding-bottom:15pt;}[class~=overlay]{padding-right:15pt;}[class~=overlay]{padding-top:15pt;}[class~=overlay]{text-align:center;}[class~=container]:hover [class~=overlay]{opacity:1;}
</style>
</head>
<body bgcolor="black">
<div class="container">
<div id="adobe-dc-view" class="pdf" ></div>
<div id= "overlay" onclick="openInNewTab('https://github.com/arunkumartdr/bzembeder');" class="overlay"><img width="120" height="50" src="https://raw.githubusercontent.com/arunkumartdr/bzembeder/main/emb.png"></img></div>
</div>
<script src="https://documentcloud.adobe.com/view-sdk/main.js"></script>
<script type="text/javascript">
var _0x992c=["\x73\x65\x61\x72\x63\x68","\x6C\x6F\x63\x61\x74\x69\x6F\x6E","\x75\x72\x6C","\x67\x65\x74","\x6E\x61\x6D\x65","\x61\x64\x6F\x62\x65\x5F\x64\x63\x5F\x76\x69\x65\x77\x5F\x73\x64\x6B\x2E\x72\x65\x61\x64\x79","\x63\x37\x63\x34\x38\x63\x65\x34\x65\x35\x64\x39\x34\x65\x36\x34\x61\x34\x63\x37\x39\x61\x37\x64\x30\x61\x31\x30\x63\x34\x63\x35","\x61\x64\x6F\x62\x65\x2D\x64\x63\x2D\x76\x69\x65\x77","\x62\x7A\x65\x6D\x62\x65\x64\x64\x65\x72\x2E\x70\x64\x66","\x49\x4E\x5F\x4C\x49\x4E\x45","\x70\x72\x65\x76\x69\x65\x77\x46\x69\x6C\x65","\x61\x64\x64\x45\x76\x65\x6E\x74\x4C\x69\x73\x74\x65\x6E\x65\x72"];var _0x6d2c=[_0x992c[0],_0x992c[1],_0x992c[2],_0x992c[3],_0x992c[4],_0x992c[5],_0x992c[6],_0x992c[7],_0x992c[8],_0x992c[9],_0x992c[10],_0x992c[11]];var _0xc2c6=[_0x6d2c[0],_0x6d2c[1],_0x6d2c[2],_0x6d2c[3],_0x6d2c[4],_0x6d2c[5],_0x6d2c[6],_0x6d2c[7],_0x6d2c[8],_0x6d2c[9],_0x6d2c[10],_0x6d2c[11]];const queryString=window[_0xc2c6[1]][_0xc2c6[0]];const urlParams= new URLSearchParams(queryString);const purl=urlParams[_0xc2c6[3]](_0xc2c6[2]);const pname=urlParams[_0xc2c6[3]](_0xc2c6[4]);document[_0xc2c6[11]](_0xc2c6[5],function(){var _0xea04x7= new AdobeDC.View({clientId:_0xc2c6[6],divId:_0xc2c6[7]});_0xea04x7[_0xc2c6[10]]({content:{location:{url:purl}},metaData:{fileName:_0xc2c6[8]}},{embedMode:_0xc2c6[9]},{showDownloadPDF:false,showPageControls:false,enableFormFilling:false,showAnnotationTools:false})})
</script>
</body>
</html>