夏秋冬
小狐狸
小狐狸
  • UID36174
  • 注册日期2011-05-03
  • 最后登录2020-03-02
  • 发帖数61
  • 经验67枚
  • 威望0点
  • 贡献值44点
  • 好评度3点
阅读:3780回复:10

火狐无法使用“迅雷专用下载链接”

楼主#
更多 发布于:2011-10-21 23:45
很多网站的下载链接,会给出一个“迅雷专用下载链接”,可用firefox的时候,点了链接没用,总提示需要迅雷才能下载,可我已经安装了迅雷。是不是只有基于IE内核的浏览器,才能正确调用迅雷?
心有猛虎,细嗅蔷薇。
fang5566
管理员
管理员
  • UID3719
  • 注册日期2005-03-07
  • 最后登录2024-05-09
  • 发帖数18483
  • 经验4837枚
  • 威望5点
  • 贡献值4316点
  • 好评度1116点
  • 社区居民
  • 最爱沙发
  • 忠实会员
  • 终身成就
1楼#
发布于:2011-10-21 23:45
安装xthunder扩展
Firefox More than meets your experience
zeroieme
千年狐狸
千年狐狸
  • UID12805
  • 注册日期2006-05-17
  • 最后登录2015-10-11
  • 发帖数1407
  • 经验34枚
  • 威望0点
  • 贡献值20点
  • 好评度0点
  • 社区居民
2楼#
发布于:2011-10-21 23:45
专用链破解 Special Links Converter
// ==UserScript==
// @name                专用链破解 Special Links Converter
// @namespace           Special Links Converter
// @description         可以把迅雷、旋风、快车的专用下载链接破解为真实地址,方便Firefox下载(Xunlei Thunder QQDownload FlashGet qqdl)
// @include             *
// @version             3.61
/* @reason
1、增加破解17173式快车链接
2、扩展自动破解链接适应性
3、兼容最新版 GreaseMonkey
@end*/
// ==/UserScript==

//预告:
//修复右键复制bug
//添加自助破解框,可自行破解任何被加密的字符
//多行划词破解
//discuz 7论坛的批量下载工具
//用atob()

//var t1 = new Date();
try{}finally{

(function(){

	var mapDe = {}, mapEn = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split('');
	for(var i=0; i<64; i++){mapDe[mapEn[i]] = i;}
	function decode(str){
		var buf = [], arr = str.split(''), map = mapDe, n = arr.length, val, i=0, j=0;
		if(n % 4)return;
		while(i < n){
			val = (map[arr[ i ]] << 18) | (map[arr[i+1]] << 12) | (map[arr[i+2]] << 6) | (map[arr[i+3]]);
			buf.push(val>>16,val>>8 & 0xFF,val & 0xFF);
			i += 4;
		}
		while(arr[--n] == '='){buf.pop();}
		while(j<buf.length){buf[j] = String.fromCharCode(buf[j++]);}
		return buf.join('');
		//return strAnsi2Unicode(buf.join(''));
		// return utf8to16(buf.join(''));
	}

	function xpath(query){
		return document.evaluate(query, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
	}
	
	// 万能显式连接破解 
	var linkSelect = xpath('//a[@thunderhref or starts-with(@href,"thunder") or contains(@onclick,"thunder:") or @qhref or starts-with(@href,"qqdl")\
		or contains(@onclick,"flashget:") or contains(@onclick,"Flashget") or starts-with(@onclick,"convertFgURL") or starts-with(@href,"flashget") or starts-with(@href,"Flashget")]');
	for (var i=0,j=linkSelect.snapshotLength; i<j; i++){
		linkSelect.snapshotItem(i).addEventListener('mouseover', function(){
			var linkCode = /#|;/.test(this.href) // 是否空href
				? (this.getAttribute('thunderhref') || this.getAttribute('qhref') || this.getAttribute('onclick').match(/(?:thunder|flashget|http):[^'"]+/i)[0])
				: this.href;
			this.href = /http:|ftp:/i.test(linkCode)
				? linkCode
				: decode(linkCode.replace(/(?:thunder|flashget|qqdl):\/\/|&.*|\/$/ig, '')).replace(/^AA|ZZ$|\[FLASHGET\]/g, '');
			/^thunder|^flashget|^qqdl/i.test(this.innerHTML) && (this.innerHTML = this.href); // 更换链接文本为URL
			/(?:迅雷|旋风|快车)*/.test(this.title) && (this.title = '专用链接破解成功:'+this.href); // 更换链接title
			this.innerHTML = this.innerHTML.replace(/迅雷|旋风|快车/, '直接').replace(/专用|用户/g, ''); // 更换专用链接文本
			this.removeAttribute('onclick');
			this.removeAttribute('oncontextmenu');
			this.style.outline = '1px solid #f00';
		}, false);
	}

	// 隐式快车链接,如:skycn
	linkSelect = xpath('//a[starts-with(@onclick,"convertFgURL")]');
	for (var i=0,j=linkSelect.snapshotLength; i<j; i++){
		linkSelect.snapshotItem(i).addEventListener('mouseover', function(){
			this.href = xpath('//script[contains(.,"var fUrl")]').snapshotItem(0).innerHTML.match(/var fUrl[=\s]+['"]([^'"]+)/i)[1];
			this.innerHTML = this.innerHTML.replace(/快车|flashget/i, '直接').replace(/专用|用户/g, '');
			this.removeAttribute('onclick');
			this.removeAttribute('oncontextmenu');
			(this.title == '') && (this.title = '专用链接破解成功:'+this.href);
			this.style.outline = '1px solid #f00';
		}, false);
	}

	// 隐式迅雷链接, gougou
	if(/down\.gougou\.com\/down\?/i.test(location.href)){
		// location.href='javascript:$("#bt_down").attr("href",g_downUrl);void(0);';
		eval(String(xpath('//script[contains(.,"g_downUrlList")]').snapshotItem(0).innerHTML.match(/var g_downUrlList=\["[^"]*"\]/)));
		var link = document.getElementById('bt_down');
		link.href = /thunder:/i.test(g_downUrlList[0])?decode(g_downUrlList[0].replace('thunder://', '')).replace(/^AA|ZZ$/g, ''):g_downUrlList[0];
		link.title = '点击直接下载  by专用链破解 Special Links Converter';
		link.style.outline = '1px solid #f00';
		link.removeAttribute('onclick');
		link.removeAttribute('oncontextmenu');
	}
	
	
	// 隐式迅雷弹出链接,如:piaodown
	linkSelect = xpath('//script[starts-with(.,"OnDownloadClick")]');
	if(!document.title && linkSelect.snapshotLength > 0){
		var linkCode = decode(linkSelect.snapshotItem(0).innerHTML.match(/thunder:\/\/([^'"]+)/i)[1]).replace(/^AA|ZZ$/g, '');
		document.body.innerHTML = '<a href="'+ linkCode +'" title="by专用链破解 Special Links Converter">专用链接破解成功:'+linkCode +'</a>';
		window.clearInterval(2);
		top.location.href = linkCode;
	}

	// 划词破解
	document.addEventListener('mouseup', function(e){
		var selection = window.getSelection().toString(), r = /(?:thunder|flashget|qqdl|fs2you):\/\/([^'"\s]*)/i;
		if (e.button == 0 && r.test(selection)){
			var linkCode = decode(selection.match(r)[1].replace(/&.*|\/$/g, '')).replace(/^AA|ZZ$|\[FLASHGET\]|\|\d+$/g, '');
			!/^http|^ftp/i.test(linkCode) && (linkCode = 'http://' + linkCode);
			e.target.innerHTML = e.target.innerHTML.replace(/amp;/g, '').replace(selection.match(r)[0], linkCode.link(linkCode));
		}
	}, false);

	// 破解纳米盘下载链接
	if(/d\.namipan\.com\/downfile\//i.test(location.href)){
		var n = document.getElementById('not_windows');
		n.style.cssText = 'display:block;outline:1px solid #f00;';
		n.title = 'by专用链破解 Special Links Converter';
	}
	if(/d\.namipan\.com\/d\//i.test(location.href)){
		var l = xpath('//span[@id="win_os"]/a[last()]').snapshotItem(0), a = document.createElement('a');
		a.href = decodeURIComponent(l.href.match(/^javascript:addLink\('(.*)'\)/i)[1]);
		a.innerHTML = '直接下载';
		a.title = 'by专用链破解 Special Links Converter';
		a.style.cssText = 'margin-right:30px;outline:1px solid #f00;';
		l.parentNode.insertBefore(a, l);
		var o = document.getElementById('other_os');
		o.style.cssText = 'display:block;outline:1px solid #f00;';
		o.title = 'by专用链破解 Special Links Converter';
	}
	
	// 破解rayfile下载链接
	if(/\.rayfile\.com\/.*\/files\//i.test(location.href)){
		var d = document.getElementById('downloadlink');
		if(d){
			d.innerHTML = '<a href="" id="_Special" title="直接下载 by专用链破解 Special Links Converter"></a>';
			d.className = 'btn_downNow_zh-cn';
			document.getElementById('txtnotedisable').id = '';
			document.getElementById('txtnotelight').innerHTML = '<span style="color:#f00;">链接破解成功</span>';
			document.getElementById('txtnotelight').id = '';
			location.href = 'javascript:setKey();document.getElementById("_Special").href=downloads_url[0];void(0);';
		}
		xpath('//*[@id="main1"]/ul/dl/dt/a').snapshotItem(0).style.cssText = 'outline:1px solid #f00;';
	}
	
	// 去除brsbox下载等待时间
	if(/www\.brsbox\.com\/filebox\/down\/fc/i.test(location.href)){
		location.href='javascript:Tout();void(0);';
		var a = xpath('//*[@id="down_area_0"]/a[2]'), d = xpath('//*[@id="truedownid"]');
		a.snapshotLength>0 && (a.snapshotItem(0).style.cssText = 'outline:1px solid #f00;');
		d.snapshotLength>0 && (d.snapshotItem(0).title = 'by专用链破解 Special Links Converter');
	}
	
	
	
	// 自助破解框,开发中...
	// var mouseup = document.createElement('div');
	// mouseup.style.cssText = 'position:fixed;bottom:0;border:2px solid #ccc;z-index:100;padding:5px;width:99%;';
	// document.body.appendChild(mouseup);
	
	// document.addEventListener('click', function(ev){
		// ev = ev || window.event; // 事件    
		// var target = ev.target || ev.srcElement; // 获得事件源
		// alert(target.innerHTML);
	// }, false);

})();

//alert("耗时:" + (new Date() - t1) + " 毫秒");
}
白左
千年狐狸
千年狐狸
  • UID34985
  • 注册日期2010-12-29
  • 最后登录2023-11-13
  • 发帖数2039
  • 经验655枚
  • 威望0点
  • 贡献值364点
  • 好评度69点
  • 社区居民
  • 忠实会员
3楼#
发布于:2011-10-21 23:45
另外渣雷现在自带浏览器支持插件/扩展
-いたんですか? -ええ、ずっと
夏秋冬
小狐狸
小狐狸
  • UID36174
  • 注册日期2011-05-03
  • 最后登录2020-03-02
  • 发帖数61
  • 经验67枚
  • 威望0点
  • 贡献值44点
  • 好评度3点
4楼#
发布于:2011-10-21 23:45
太好了,装了xthunder后,可以用了,多谢!
心有猛虎,细嗅蔷薇。
asdf123456
千年狐狸
千年狐狸
  • UID32588
  • 注册日期2010-04-16
  • 最后登录2020-02-17
  • 发帖数1088
  • 经验299枚
  • 威望0点
  • 贡献值50点
  • 好评度10点
  • 社区居民
  • 忠实会员
5楼#
发布于:2011-10-21 23:45
win7 64位的,我的还是无法调用迅雷。
195
195
千年狐狸
千年狐狸
  • UID3920
  • 注册日期2005-03-12
  • 最后登录2023-01-15
  • 发帖数1123
  • 经验50枚
  • 威望0点
  • 贡献值0点
  • 好评度2点
  • 社区居民
  • 忠实会员
6楼#
发布于:2011-10-21 23:45
win7 64可以调用迅雷,没有问题。
只要参考xthunder作者的FAQ,修改注册表就可以了。
花非花
火狐狸
火狐狸
  • UID36925
  • 注册日期2011-08-06
  • 最后登录2013-06-28
  • 发帖数264
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
7楼#
发布于:2011-10-21 23:45
xthunder 能不能对付不能下载的链接?就是那种下了一部分之后时间倒计时变成一堆横线的链接。
希望似乎不大,还是问问。
tulip17
千年狐狸
千年狐狸
  • UID34021
  • 注册日期2010-09-17
  • 最后登录2024-05-03
  • 发帖数980
  • 经验678枚
  • 威望1点
  • 贡献值420点
  • 好评度51点
  • 社区居民
  • 忠实会员
8楼#
发布于:2011-10-21 23:45
有个ease link扩展,可以破解迅雷快车等链接

专用链破解 Special Links Converter据说有后门
花非花
火狐狸
火狐狸
  • UID36925
  • 注册日期2011-08-06
  • 最后登录2013-06-28
  • 发帖数264
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
9楼#
发布于:2011-10-21 23:45
tulip17:有个ease link扩展,可以破解迅雷快车等链接

专用链破解 Special Links Converter据说有后门
回到原帖


ease link禁用了 ,xthunder自己就能搞定迅雷快车等链接。
Special Links Converter 谢谢推荐  下来备用
smile
小狐狸
小狐狸
  • UID36300
  • 注册日期2011-05-20
  • 最后登录2011-10-26
  • 发帖数78
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
10楼#
发布于:2011-10-21 23:45
唉,看不懂,全当学习了
游客

返回顶部