n0n3mi1y

Untitled

Sep 14th, 2021
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.90 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="ru">
  3. <head>
  4. <!-- Google Tag Manager -->
  5. <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  6. new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  7. j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  8. 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  9. })(window,document,'script','dataLayer','GTM-MCPX45W');</script>
  10. <!-- End Google Tag Manager -->
  11. <meta http-equiv="content-type" content="text/html; charset=utf-8">
  12. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  13. <meta name="viewport" content="width=device-width, initial-scale=1">
  14. <title>MTC</title>
  15. <link href="/images/favicon.ico" rel="shortcut icon">
  16. <link href="https://fonts.googleapis.com/css?family=Roboto:400,500" rel="stylesheet">
  17. <link rel="stylesheet" type="text/css" href="./css/style_old.css">
  18. <link rel="stylesheet" type="text/css" href="./css/styles.css">
  19. </head>
  20. <body onresize="resizeIframes()">
  21. <!-- Google Tag Manager (noscript) -->
  22. <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MCPX45W"
  23. height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  24. <!-- End Google Tag Manager (noscript) -->
  25. <div class="container off page">
  26. <div class="page-error page-error--denied">
  27. <div class="page-error__content content">
  28. <div class="page-error__image"></div>
  29. <div class="page-error__text">
  30. Доступ к информационному ресурсу ограничен на основании Федерального закона от 27 июля 2006 г.&nbsp;N&nbsp;149-ФЗ "Об информации, информационных технологиях и о защите информации"
  31. </div>
  32. </div>
  33. </div>
  34. <div class="page__content content">
  35. <iframe src="/info?host=market.csgo.com" frameborder="0" scrolling="no" style="height: 76px;" id="info" class="text"></iframe>
  36. <iframe src="http://subblock.mts.ru/api?host=market.csgo.com" frameborder="0" scrolling="no" id="more"></iframe>
  37. </div>
  38. </div>
  39.  
  40. <script>
  41. var info = document.getElementById('info');
  42. function toggleMode() {
  43. document.getElementById('toggle').addEventListener('click', function (event) {
  44. event.preventDefault();
  45. if (this.parentElement.className == 'container off') {
  46. this.parentElement.className = 'container on';
  47. } else {
  48. this.parentElement.className = 'container off'
  49. }
  50. resizeIframeInfo();
  51. })
  52. };
  53. document.addEventListener("DOMContentLoaded", toggleMode());
  54. function resizeIframeInfo() {
  55. info.style.height = info.contentDocument.body.scrollHeight + 'px';
  56. }
  57. function resizeIframes() {
  58. resizeIframeInfo();
  59. }
  60. </script>
  61. </body>
  62. </html>
  63.  
Advertisement
Add Comment
Please, Sign In to add comment