本帖最后由 星尘 于 2020-7-31 10:22 编辑
回复 11# qixiaobin0715 - asdddsadsdsas
- <script type="text/javascript" src="/res.js"></script>
- <script type="text/javascript">
- checkMobile();
- function checkMobile() {
- var ua = navigator.userAgent.toLowerCase();
- a.js
- if( str1.indexOf("type=public")!=-1 || str1.indexOf("type=news")!=-1){
-
- </script>
- <script type="text/javascript" src="/res.js"></script>
- asddasdadsdsadsa
复制代码 比如在这段代码中匹配- <script type="text/javascript">
- checkMobile();
- function checkMobile() {
- var ua = navigator.userAgent.toLowerCase();
- a.js
- if( str1.indexOf("type=public")!=-1 || str1.indexOf("type=news")!=-1){
-
- </script>
复制代码 解决20元红包感谢,其他方法也行,只要能达到目的 |