├── README.md
├── newt66y.plist
└── rm.1.019.js
/README.md:
--------------------------------------------------------------------------------
1 | # newt66y helloworld
2 |
--------------------------------------------------------------------------------
/newt66y.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | items
6 |
7 |
8 | assets
9 |
10 |
11 | kind
12 | software-package
13 | url
14 | http://www.rmdown.com/app/t66y_ios_2.2.2.ipa
15 |
16 |
17 | kind
18 | display-image
19 | needs-shine
20 |
21 | url
22 | http://www.rmdown.com/57.png
23 |
24 |
25 | metadata
26 |
27 | bundle-identifier
28 | com.cl.NewT66y
29 | bundle-version
30 | 2.2.2
31 | kind
32 | software
33 | subtitle
34 | t66y.com
35 | title
36 | 小草
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/rm.1.019.js:
--------------------------------------------------------------------------------
1 | function dpos(form){
2 | var imgs = document.getElementsByTagName('img');
3 | if(imgs[0].height==0){
4 | //alert('请关闭广告屏蔽插件(如ADBLOCK)再尝试下载');
5 | //return false;
6 | }
7 | if(ert6j){
8 | //alert('请关闭广告屏蔽插件(如uBlock)再尝试下载');
9 | //return false;
10 | }
11 | if($("img:eq(0)").css('visibility')=='collapse'){
12 | //alert('请关闭广告屏蔽插件(如uBlock)再尝试下载');
13 | //return false;
14 | }
15 | if(poData){
16 | var ider = Math.floor(Math.random() * poData.length);
17 | window.open(poData[ider].u);
18 | }
19 | return true;
20 | }
21 |
22 | function initDownload(){
23 | if(rmData){
24 | var ider = Math.floor(Math.random() * rmData.length);
25 | rmData.forEach(function(item, index){
26 | var dl = index==ider ? dlData : '';
27 | document.write('
' + dl);
28 | });
29 | }else{
30 | document.write(dlData);
31 | }
32 | }
33 |
34 | function magnet(copy){
35 | var cbtn = $('#cbtn');
36 | var code = $('#ref').val();
37 | var magn = 'magnet:?xt=urn:btih:'+code.substr(3);
38 | if(poData && !copy){
39 | var ider = Math.floor(Math.random() * poData.length);
40 | window.open(poData[ider].u);
41 | }else if(copy){
42 | cbtn.html('Loading..');
43 | cbtn.prop('disabled', true);
44 | }
45 | if(magnet_link){
46 | magnet_decider(magnet_link, copy, cbtn);
47 | return;
48 | }
49 | $.get( "download.php", { action: "magnet", ref: code } ).done(function( data ) {
50 | if(data.indexOf('magnet')==0){
51 | magnet_link = data;
52 | magnet_decider(data, copy, cbtn);
53 | }else{
54 | document.write(data + '
' + magn);
55 | }
56 | });
57 | }
58 |
59 | function magnet_decider(data, copy, cbtn){
60 | if(copy){
61 | var m = $('', {id:"copyid"});
62 | m.attr('data-clipboard-text', data);
63 | m.attr("type", "button");
64 | cbtn.parent().append(m);
65 | var clipboard = new ClipboardJS('#copyid');
66 | clipboard.on('success', function (e) {
67 | cbtn.html('MAGNET Copied');
68 | setTimeout(function(){ cbtn.html(' COPY'); }, 3000);
69 | });
70 | clipboard.on('error', function (e) {
71 | cbtn.html('MAGNET generated, click to copy.');
72 | cbtn.attr('data-clipboard-text', data);
73 | cbtn.attr('onclick', '');
74 | var clipboard1 = new ClipboardJS('#cbtn');
75 | clipboard1.on('success', function (e) {
76 | cbtn.html('MAGNET Copied');
77 | setTimeout(function(){ cbtn.html(' COPY'); }, 3000);
78 | });
79 | });
80 | m.click();
81 | m.remove();
82 | cbtn.prop('disabled', false);
83 | return;
84 | }
85 | setTimeout(function(){
86 | window.open(data, '_self');
87 | }, 1000);
88 | return;
89 | }
90 |
91 | $( document ).ready(function() {
92 | $("li:eq(1)").css('display', 'none');
93 | $("img:eq(1)").on("error", function(){
94 | $("li:eq(1)").css('display', '');
95 | });
96 | $("img:eq(0)").on("load", function(){
97 | if($(this).css('visibility')=='collapse'){
98 | ert6j = true;
99 | }
100 | });
101 | });
102 |
--------------------------------------------------------------------------------