Greasy Fork is available in English.

Tartışmalar » Geliştirme

Problem , Download link

§
Gönderildi: 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
';

}
}

§
Gönderildi: 13.05.2015

Script code for better viewing

wOxxOmMod
§
Gönderildi: 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.

§
Gönderildi: 20.05.2015

Hi Felippe,

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

See you
Reek

§
Gönderildi: 23.05.2015
Hi Felippe,

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

See you
Reek

it did not work

§
Gönderildi: 26.05.2015

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

Funcionou!

§
Gönderildi: 27.05.2015

Ok, fixed !

Cevap paylaş

Yanıt göndermek için oturum açın.