页面的源代码不包含网页数据

时间:2019-05-21 17:50:16

标签: php jquery html inspect-element

我想获取页面的html源代码。该页面是Click to open page 当我打开此页面的源代码时,它仅显示javascript文件路径,网页数据未显示在源代码上,未显示HTML或标记。代码显示为:

    <!doctype html><html lang="en"><head><meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="mobile-web-app-capable" content="yes">
<title>My Shop Prime</title></head><body><noscript>
If you're seeing this message, that means <strong>
JavaScript has been disabled on your browser</strong>, 
please <strong>enable JS</strong> to make this app work.</noscript>
<div id="app"></div><script src="https://cdn.ravenjs.com/3.26.4/raven.min.js" crossorigin="anonymous" defer="defer">
</script><link href="https://fonts.googleapis.com/css?family=Nunito:200,300,400,700" rel="stylesheet">
<script type="text/javascript" src="/runtime~main.25d7bd45f0353db8189d.js"></script><script type="text/javascript" src="/vendors~main.ec8aec908b30efbaf70c.chunk2322.js"></script>
<script type="text/javascript" src="/main.0bfab7b5c9d1a7b33de8.chunk2322.js"></script>
</body></html>

当我打开insepect元素时,它会显示所有HTML和标签  我也尝试过使用此代码

<?php echo file_get_contents($_GET['url']); ?>

0 个答案:

没有答案