Discussions » Development

Problem , Download link

§
Posted: 13/05/2015

Problem , Download link

I 'm trying to create a script for a particular site , however as in the code of the script contains the direct link to download when using Script on the same site , but in another post Download the file keeps the same ...

"http://m1np.fileproject.com.br/download/-bLFV0O5gqETAWpOW1faJA/1431555609/manga/capitulos/nP_700-02-previa.rar"

if(tempo>0) { -------------> if(tempo>15) {




original code:



var tempo = 15;

window.onload = function () {
contagem();
}

function contagem() {
if(tempo>0) {
var span = document.getElementById('tempo_espera');
span.innerHTML = tempo;
tempo--;
setTimeout("contagem()",1000);
}
else {
var div = document.getElementById('subs');

div.innerHTML = 'BAIXAR
ARQUIVO
';

}
}

§
Posted: 13/05/2015

Script code for better viewing

woxxomMod
§
Posted: 20/05/2015

The description is not entirely clear. If you still need help, provide additional examples/links/screenshots/whatever to illustrate the issue and the desired result.

§
Posted: 20/05/2015

Hi Felippe,

Test this (press RAW for install)
https://gist.github.com/reek/3155c98bd542c9ffed45

See you
Reek

§
Posted: 23/05/2015
Hi Felippe,

Test this (press RAW for install)
https://gist.github.com/reek/3155c98bd542c9ffed45

See you
Reek

it did not work

§
Posted: 26/05/2015

Alterando a linha para
// @include http*://*.fileproject.com.br/*

Funcionou!

§
Posted: 27/05/2015

Ok, fixed !

Post reply

Sign in to post a reply.