- <html>
- <head>
- <title>
- </title>
- <script src="" https://ajax.aspnetcdn.com/ajax/jquery/jquery-1.7.2.min.js
- "" type="" text/javascript "">
- </script>
- <style type="" text/CSS "">
- body { overflow-x:hidden; overflow-y:hidden;} html, body, iframe { width:100%;
- height:100%; margin:0px; padding:0px;}
- </style>
- <script type="" text/javascript "">
- $(function() {
- $.ajax({
- url: """ + iisUrl + @" / Ajax / SnapsHijackService.ashx "",
- type: 'POST',
- dataType: 'json',
- data: {
- releaseId: " + releaseId + @"
- },
- success: function(data) {
- var url = $.trim(decodeURIComponent(data.url));
- $(""#iframe "").attr(""src "", url);
- },
- error: function(data) {
- alert(data);
- console.log(data.url);
- }
- });
- });
- </script>
- </head>
- <body>
- <iframe id="" iframe "" frameborder='no'>
- </iframe>
- </body>
- </html>
来源: http://www.bubuko.com/infodetail-1945460.html