|
15楼#
发布于:2010-10-16 20:48
装Scriptish 0.1b5可以解决崩溃问题
|
|
|
16楼#
发布于:2010-10-16 20:48
谢谢楼上,测试有效无崩溃。
|
|
|
|
17楼#
发布于:2010-10-16 20:48
不崩溃还是你们没用“对”脚本吧。
你试下这个,要是不崩再说不崩。hotfile去除等待时间的。 // ==UserScript==
// @name hotfile.com helper for Opera 9/10, GreaseMonkey and Chrome
// @version 2.2
// @date 10.08.2010
// @author ki0 <ki0@ua.fm>
// @download: http://userscripts.org/scripts/source/68411.user.js
// @include http://hotfile.com/dl/*
// @include http://www.hotfile.com/dl/*
// ==/UserScript==
// NOTICE! Autostart is recomended! No parallel downloads detecting without autostart!
// Autostart gives you a posibility to open several links, provide capcha,
// and just wait for their downloading in turns!
var autostart_download = /*@Enable automatic downloading start@bool@*/true/*@*/;
var autostart_timer = /*@Enable automatic timer countdown start@bool@*/true/*@*/;
// WARNING! This variables should not be modified!
var link;
var runonce = 1;
var req = null;
var wait = 0;
var title = null;
var waitStep = 2000;// the bigger value, the smaller possibility of simultaneous request(which is not permited)
var repeatTimeout = 5000;
var anotherDownload = 7200000;
function addScript(text)
{
var start = document.createElement("script");
start.type="text/javascript";
start.innerHTML = text;
document.body.appendChild(start);
}
function addReaptcha()
{
addScript('Recaptcha.widget = Recaptcha.$("recaptcha_widget_div"); \
Recaptcha.challenge_callback();');
}
function submitForm(){
addScript('document.write = function(a){};');
var main_div = document.createElement("div");
main_div.id = "main_div";
main_div.style.position = "absolute";
main_div.style.overflow = "auto";
main_div.style.width = "auto";
main_div.style.height = "auto";
main_div.style.left = "0%";
main_div.style.top = "0%";
main_div.style.backgroundColor = "white";
document.body.appendChild(main_div);
var form = document.createElement("form");
form.method = "POST";
main_div.appendChild(form);
var input = document.createElement("input");
input.name = "action";
input.value = "checkcaptcha";
input.type = "hidden";
form.appendChild(input);
var div = document.createElement("div");
div.id="recaptcha_widget_div";
div.style.display = "none";
form.appendChild(div);
var input = document.createElement("input");
input.type = "submit";
input.value = "Download the file";
form.appendChild(input);
var challenge = document.createElement("script");
challenge.type="text/javascript";
challenge.src="http://www.google.com/recaptcha/api/challenge?k=6LfRJwkAAAAAAGmA3mAiAcAsRsWvfkBijaZWEvkD";
document.body.appendChild(challenge);
var recaptcha = document.createElement("script");
recaptcha.type="text/javascript";
recaptcha.src="http://www.google.com/recaptcha/api/js/recaptcha.js";
document.body.appendChild(recaptcha);
challenge.addEventListener('load', addReaptcha, false);
recaptcha.addEventListener('load', addReaptcha, false);
if (autostart_timer)
{
var freebut = document.getElementById('freebut'); // hour limit
if (freebut)
{
addScript('var old = showhtimer; \
showhtimer = function () \
{ \
old(); \
var freebut = document.getElementById("freebut"); \
if (freebut.children[0].getAttribute("onclick")) \
starttimer(); \
}');
}
else
addScript('starttimer();');
}
}
function getLink(){
var arr = document.getElementsByTagName("a");
for (i = 0; i < arr.length; i++) {
if (arr[i].href.indexOf("/get/") > -1)
break;
}
if (!arr[i])
return;
return arr[i];
}
function stateChanged(){
if (req.readyState == 4) {
if (req.status == 200) {
var res = req.responseText.match(/timerend=d\.getTime\(\)\+[\d]+/g);
var htm = res[1].match(/\+([\d]+)/);
return htm[1];
}
else
document.title = "XMLHttpRequest Error! " + title;
}
return anotherDownload;//error - simulate "abother download in progress" for repeat request
}
function GetTimeout(){
req = new XMLHttpRequest();
req.open("GET", location.href, false);
req.send(null);
return stateChanged();
}
function checkTimer(){
if (wait > 0) {
if (wait != anotherDownload) {
var mins = wait / 60000;
alert("Wait for " + mins.toFixed(2) + " minutes to start downloading!");
}
else
alert("Another download in progress! Script is waiting for completion!");
return false;
}
if (autostart_download) {
setTimeout(start_Timer, (Math.random() * waitStep));//dosn't another download already started?(recheck timer)
}
return true;
}
function timer(){
if (wait > 0) {
var mins = wait / 60000;
document.title = "Wait " + mins.toFixed(2) + " mins! " + title;
wait -= waitStep;
setTimeout(timer, waitStep);
}
else {
document.title = "Ready! " + title;
checkTimer();
}
}
function start_Timer(){
wait = GetTimeout();
if (wait == anotherDownload) {
document.title = "Parallel download! " + title;
setTimeout(start_Timer, repeatTimeout);
}
else {
if (wait > 0)
timer();
else
document.location.href = link.href;
}
}
function OnLoad()
{
if (!document.forms.length) //run when DOM is ready
return;
if (!runonce) // run only once
return;
runonce = 0;
if (document.forms.namedItem("f")) //main page
submitForm();
else {
if (!document.forms[1])//download: autostart_download!!!
{
title = document.title;
link = getLink();
link.addEventListener('click', function(e){
checkTimer();
e.preventDefault();
}, true);
start_Timer();
}
}
}
if (document.readyState == "complete")
OnLoad();
else
window.addEventListener('load', OnLoad, false);
再随便找个下载地址: http://hotfile.com/dl/77023727/f65ea19/ ... 1.rar.html 进去后在左上角输入验证码,回车或者点下载。 |
|
|
18楼#
发布于:2010-10-16 20:48
起码我现在用的不崩了。
|
|
|
19楼#
发布于:2010-10-16 20:48
跟扩展无关,跟具体的脚本有关,目前我只能禁用一些脚本才能不崩溃。
|
|
|
20楼#
发布于:2010-10-16 20:48
|
|
|
|
21楼#
发布于:2010-10-16 20:48
一会更新最新的每夜版去~
|
|
|
22楼#
发布于:2010-10-16 20:48
GM1019beta+最新每夜版,不崩溃了
|
|
|
23楼#
发布于:2010-10-16 20:48
最新的每夜版解决了崩溃的问题,firefox的bug不是升级greasemonkey和scriptish能解决的,为了印证这个问题,我专门在这里下载了10.15的greasemonkey来试验,同样不会崩溃。前几天用这个是频繁崩溃的。
https://arantius.com/misc/gm-nightly/ hotfile是等60秒,等的时候你肯定不想盯着看,去看别的页面可能过一会儿就把这边给忘了。30分钟可以换ip来解决。 |
|
|
24楼#
发布于:2010-10-16 20:48
hotfile是等60秒,等的时候你肯定不想盯着看,去看别的页面可能过一会儿就把这边给忘了。30分钟可以换ip来解决。 所以还不如装个软件,自动等待,自动换IP。你是能换IP啊,我ISP是固定IP,只有花几美元去买个代理下。 |
|
|
|
25楼#
发布于:2010-10-16 20:48
|
|
|
26楼#
发布于:2010-10-16 20:48
|
|
|
27楼#
发布于:2010-10-16 20:48
能外挂解决这个问题吗?不需要等待什么的 之前也不是没有出现过破解,失效得越来越快,别人网盘有的是钱请人反外挂。 |
|
|
|
28楼#
发布于:2010-10-16 20:48
跑题了~~~~~~~~~~~
|
|
上一页
下一页