Diskusie » Vývoj

Problem , Download link

§
Pridaný: 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
';

}
}

§
Pridaný: 13.05.2015

Script code for better viewing

woxxomZablokovaný
§
Pridaný: 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.

§
Pridaný: 20.05.2015

Hi Felippe,

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

See you
Reek

§
Pridaný: 23.05.2015
Hi Felippe,

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

See you
Reek

it did not work

§
Pridaný: 26.05.2015

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

Funcionou!

§
Pridaný: 27.05.2015

Ok, fixed !

Pridať odpoveď

Aby ste mohli pridať odpoveď, prihláste sa.