123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>My Watched Broadcasters | CharmLive.com</title>
- <meta id="pageSetMeta" content="*">
- <meta name="keywords" content="Charmlive,live streaming,live video chat,live broadcasting,live stream girls" />
- <meta name="description" content="Here are the broadcasters you have had a one-on-one broadcast with.You can chat with them with private message." />
- <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
- <meta http-equiv="Access-Control-Allow-Origin" content="*">
- <script src="<%=public_path%>/js/jquery.js"></script>
- </head>
- <body>
- <div id="app"></div>
- <script>
- $.ajaxSetup({
- cache: true
- });
- $.get('/page/list.html', {}, function(res) {
- var str = res.replace(/[\r\n]/g, "");
- var source = {},
- scriptArr = [];
- source.style = str.match(/<style.*?<\/style>/g);
- source.link = str.match(/<link.*?>/g);
- scriptArr = str.match(/<script.*?<\/script>/g);
- var script = '';
- for (var key in source) {
- if (Object.prototype.toString.call(source[key]) == '[object Array]') {
- source[key].forEach(function(value) {
- $('body').append(value);
- })
- }
- }
- scriptArr.forEach(function(value) {
- if (value.toLowerCase().indexOf('jquery.min.js') > -1) return;
- $('body').append(value);
- })
- })
- </script>
- </body>
- </html>
|