Greasy Fork is available in English.

議論 » 開発

Problem , Download link

§
投稿日: 2015/05/13

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
';

}
}

§
投稿日: 2015/05/13

Script code for better viewing

woxxomMod
§
投稿日: 2015/05/20

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.

§
投稿日: 2015/05/20

Hi Felippe,

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

See you
Reek

§
投稿日: 2015/05/23
Hi Felippe,

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

See you
Reek

it did not work

§
投稿日: 2015/05/26

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

Funcionou!

§
投稿日: 2015/05/27

Ok, fixed !

返信を投稿

返信を投稿するにはログインしてください。