talkback.html 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8"/>
  5. <meta name="author" content=""/>
  6. <meta name="description" content=""/>
  7. <meta name="keywords" content=""/>
  8. <meta name="format-detection" content="telphone=no,email=no"/>
  9. <meta name="viewport"
  10. content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
  11. <meta http-equiv="Pragma" content="no-cache">
  12. <meta http-equiv="Cache-control" content="no-cache">
  13. <meta http-equiv="Cache" content="no-cache">
  14. <title>link it back</title>
  15. </head>
  16. <body>
  17. <h2 style="text-align: center; vertical-align: center"><a id="click-field" href="">点击</a></h2>
  18. </body>
  19. <script type="text/javascript">
  20. function getParameterByName(name) {
  21. var match = RegExp('[?&]' + name + '=([^&]*)').exec(window.location.search);
  22. return match && decodeURIComponent(match[1].replace(/\+/g, ' '));
  23. }
  24. document.getElementById('click-field').href = getParameterByName('url')
  25. </script>
  26. </html>