在极影首页以及搜索页添加一个的绿底白箭头,链接为该资源的磁链;在动漫花园把蓝箭头的链接换成磁链。</span></td>
当前为
<!DOCTYPE html>
<html lang="en" class="">
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# object: http://ogp.me/ns/object# article: http://ogp.me/ns/article# profile: http://ogp.me/ns/profile#">
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Language" content="en">
<title>KTXP-dmhyTorrentLinkToMagnet/KTXP&dmhyTorrentLinkToMagnet.user.js at master · JMNSY/KTXP-dmhyTorrentLinkToMagnet · GitHub</title>
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub">
<link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub">
<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-114.png">
<link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114.png">
<link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-144.png">
<link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144.png">
<meta property="fb:app_id" content="1401488693436528">
<meta content="@github" name="twitter:site" /><meta content="summary" name="twitter:card" /><meta content="JMNSY/KTXP-dmhyTorrentLinkToMagnet" name="twitter:title" /><meta content="KTXP-dmhyTorrentLinkToMagnet - 在极影首页以及搜索页添加一个的绿底白箭头,链接为该资源的磁链;在动漫花园把蓝箭头的链接换成磁链" name="twitter:description" /><meta content="https://avatars2.githubusercontent.com/u/3366324?v=3&s=400" name="twitter:image:src" />
<meta content="GitHub" property="og:site_name" /><meta content="object" property="og:type" /><meta content="https://avatars2.githubusercontent.com/u/3366324?v=3&s=400" property="og:image" /><meta content="JMNSY/KTXP-dmhyTorrentLinkToMagnet" property="og:title" /><meta content="https://github.com/JMNSY/KTXP-dmhyTorrentLinkToMagnet" property="og:url" /><meta content="KTXP-dmhyTorrentLinkToMagnet - 在极影首页以及搜索页添加一个的绿底白箭头,链接为该资源的磁链;在动漫花园把蓝箭头的链接换成磁链" property="og:description" />
<meta name="browser-stats-url" content="/_stats">
<link rel="assets" href="https://assets-cdn.github.com/">
<link rel="conduit-xhr" href="https://ghconduit.com:25035">
<meta name="pjax-timeout" content="1000">
<meta name="msapplication-TileImage" content="/windows-tile.png">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="selected-link" value="repo_source" data-pjax-transient>
<meta name="google-analytics" content="UA-3769691-2">
<meta content="collector.githubapp.com" name="octolytics-host" /><meta content="collector-cdn.github.com" name="octolytics-script-host" /><meta content="github" name="octolytics-app-id" /><meta content="4A56C041:1AF8:4C921CC:54809193" name="octolytics-dimension-request_id" />
<meta content="Rails, view, blob#show" name="analytics-event" />
<link rel="icon" type="image/x-icon" href="https://assets-cdn.github.com/favicon.ico">
<meta content="authenticity_token" name="csrf-param" />
<meta content="3roF5Ez4/J70ErQ9sP8z1hYxD20EK7DTpa+lFR78w0i/LMA1o9f/xunwyWkTqSGqHM6UHgnA7hEiJ5lOUm4vTw==" name="csrf-token" />
<link href="https://assets-cdn.github.com/assets/github-3b230f82a0b851c99d89b2bf05aa48231c73dbb9ac7a3e425b3d9751746b4eb5.css" media="all" rel="stylesheet" type="text/css" />
<link href="https://assets-cdn.github.com/assets/github2-fa4131d40212d3a8d5f0db6761cbe13ad7581ee5e269a2f89a5637cb3f13a8d0.css" media="all" rel="stylesheet" type="text/css" />
<meta http-equiv="x-pjax-version" content="b61ea63d768e4e4fc6661b563752ccc3">
<meta name="description" content="KTXP-dmhyTorrentLinkToMagnet - 在极影首页以及搜索页添加一个的绿底白箭头,链接为该资源的磁链;在动漫花园把蓝箭头的链接换成磁链">
<meta name="go-import" content="github.com/JMNSY/KTXP-dmhyTorrentLinkToMagnet git https://github.com/JMNSY/KTXP-dmhyTorrentLinkToMagnet.git">
<meta content="3366324" name="octolytics-dimension-user_id" /><meta content="JMNSY" name="octolytics-dimension-user_login" /><meta content="24785519" name="octolytics-dimension-repository_id" /><meta content="JMNSY/KTXP-dmhyTorrentLinkToMagnet" name="octolytics-dimension-repository_nwo" /><meta content="true" name="octolytics-dimension-repository_public" /><meta content="false" name="octolytics-dimension-repository_is_fork" /><meta content="24785519" name="octolytics-dimension-repository_network_root_id" /><meta content="JMNSY/KTXP-dmhyTorrentLinkToMagnet" name="octolytics-dimension-repository_network_root_nwo" />
<link href="https://github.com/JMNSY/KTXP-dmhyTorrentLinkToMagnet/commits/master.atom" rel="alternate" title="Recent Commits to KTXP-dmhyTorrentLinkToMagnet:master" type="application/atom+xml">
</head>
<body class="logged_out env-production vis-public page-blob">
<a href="#start-of-content" tabindex="1" class="accessibility-aid js-skip-to-content">Skip to content</a>
<div class="wrapper">
<div class="header header-logged-out" role="banner">
<div class="container clearfix">
<a class="header-logo-wordmark" href="https://github.com/" ga-data-click="(Logged out) Header, go to homepage, icon:logo-wordmark">
<span class="mega-octicon octicon-logo-github"></span>
</a>
<div class="header-actions" role="navigation">
<a class="button primary" href="/join" data-ga-click="(Logged out) Header, clicked Sign up, text:sign-up">Sign up</a>
<a class="button" href="/login?return_to=%2FJMNSY%2FKTXP-dmhyTorrentLinkToMagnet%2Fblob%2Fmaster%2FKTXP%2526dmhyTorrentLinkToMagnet.user.js" data-ga-click="(Logged out) Header, clicked Sign in, text:sign-in">Sign in</a>
</div>
<div class="site-search repo-scope js-site-search" role="search">
<form accept-charset="UTF-8" action="/JMNSY/KTXP-dmhyTorrentLinkToMagnet/search" class="js-site-search-form" data-global-search-url="/search" data-repo-search-url="/JMNSY/KTXP-dmhyTorrentLinkToMagnet/search" method="get"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓" /></div>
<input type="text"
class="js-site-search-field is-clearable"
data-hotkey="s"
name="q"
placeholder="Search"
data-global-scope-placeholder="Search GitHub"
data-repo-scope-placeholder="Search"
tabindex="1"
autocapitalize="off">
<div class="scope-badge">This repository</div>
</form>
</div>
<ul class="header-nav left" role="navigation">
<li class="header-nav-item">
<a class="header-nav-link" href="/explore" data-ga-click="(Logged out) Header, go to explore, text:explore">Explore</a>
</li>
<li class="header-nav-item">
<a class="header-nav-link" href="/features" data-ga-click="(Logged out) Header, go to features, text:features">Features</a>
</li>
<li class="header-nav-item">
<a class="header-nav-link" href="https://enterprise.github.com/" data-ga-click="(Logged out) Header, go to enterprise, text:enterprise">Enterprise</a>
</li>
<li class="header-nav-item">
<a class="header-nav-link" href="/blog" data-ga-click="(Logged out) Header, go to blog, text:blog">Blog</a>
</li>
</ul>
</div>
</div>
<div id="start-of-content" class="accessibility-aid"></div>
<div class="site" itemscope itemtype="http://schema.org/WebPage">
<div id="js-flash-container">
</div>
<div class="pagehead repohead instapaper_ignore readability-menu">
<div class="container">
<ul class="pagehead-actions">
<li>
<a href="/login?return_to=%2FJMNSY%2FKTXP-dmhyTorrentLinkToMagnet"
class="minibutton with-count star-button tooltipped tooltipped-n"
aria-label="You must be signed in to star a repository" rel="nofollow">
<span class="octicon octicon-star"></span>
Star
</a>
<a class="social-count js-social-count" href="/JMNSY/KTXP-dmhyTorrentLinkToMagnet/stargazers">
1
</a>
</li>
<li>
<a href="/login?return_to=%2FJMNSY%2FKTXP-dmhyTorrentLinkToMagnet"
class="minibutton with-count js-toggler-target fork-button tooltipped tooltipped-n"
aria-label="You must be signed in to fork a repository" rel="nofollow">
<span class="octicon octicon-repo-forked"></span>
Fork
</a>
<a href="/JMNSY/KTXP-dmhyTorrentLinkToMagnet/network" class="social-count">
0
</a>
</li>
</ul>
<h1 itemscope itemtype="http://data-vocabulary.org/Breadcrumb" class="entry-title public">
<span class="mega-octicon octicon-repo"></span>
<span class="author"><a href="/JMNSY" class="url fn" itemprop="url" rel="author"><span itemprop="title">JMNSY</span></a></span><!--
--><span class="path-divider">/</span><!--
--><strong><a href="/JMNSY/KTXP-dmhyTorrentLinkToMagnet" class="js-current-repository" data-pjax="#js-repo-pjax-container">KTXP-dmhyTorrentLinkToMagnet</a></strong>
<span class="page-context-loader">
<img alt="" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</span>
</h1>
</div><!-- /.container -->
</div><!-- /.repohead -->
<div class="container">
<div class="repository-with-sidebar repo-container new-discussion-timeline ">
<div class="repository-sidebar clearfix">
<nav class="sunken-menu repo-nav js-repo-nav js-sidenav-container-pjax js-octicon-loaders"
role="navigation"
data-pjax="#js-repo-pjax-container"
data-issue-count-url="/JMNSY/KTXP-dmhyTorrentLinkToMagnet/issues/counts">
<ul class="sunken-menu-group">
<li class="tooltipped tooltipped-w" aria-label="Code">
<a href="/JMNSY/KTXP-dmhyTorrentLinkToMagnet" aria-label="Code" class="selected js-selected-navigation-item sunken-menu-item" data-hotkey="g c" data-selected-links="repo_source repo_downloads repo_commits repo_releases repo_tags repo_branches /JMNSY/KTXP-dmhyTorrentLinkToMagnet">
<span class="octicon octicon-code"></span> <span class="full-word">Code</span>
<img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</a> </li>
<li class="tooltipped tooltipped-w" aria-label="Issues">
<a href="/JMNSY/KTXP-dmhyTorrentLinkToMagnet/issues" aria-label="Issues" class="js-selected-navigation-item sunken-menu-item" data-hotkey="g i" data-selected-links="repo_issues repo_labels repo_milestones /JMNSY/KTXP-dmhyTorrentLinkToMagnet/issues">
<span class="octicon octicon-issue-opened"></span> <span class="full-word">Issues</span>
<span class="js-issue-replace-counter"></span>
<img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</a> </li>
<li class="tooltipped tooltipped-w" aria-label="Pull Requests">
<a href="/JMNSY/KTXP-dmhyTorrentLinkToMagnet/pulls" aria-label="Pull Requests" class="js-selected-navigation-item sunken-menu-item" data-hotkey="g p" data-selected-links="repo_pulls /JMNSY/KTXP-dmhyTorrentLinkToMagnet/pulls">
<span class="octicon octicon-git-pull-request"></span> <span class="full-word">Pull Requests</span>
<span class="js-pull-replace-counter"></span>
<img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</a> </li>
</ul>
<div class="sunken-menu-separator"></div>
<ul class="sunken-menu-group">
<li class="tooltipped tooltipped-w" aria-label="Pulse">
<a href="/JMNSY/KTXP-dmhyTorrentLinkToMagnet/pulse" aria-label="Pulse" class="js-selected-navigation-item sunken-menu-item" data-selected-links="pulse /JMNSY/KTXP-dmhyTorrentLinkToMagnet/pulse">
<span class="octicon octicon-pulse"></span> <span class="full-word">Pulse</span>
<img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</a> </li>
<li class="tooltipped tooltipped-w" aria-label="Graphs">
<a href="/JMNSY/KTXP-dmhyTorrentLinkToMagnet/graphs" aria-label="Graphs" class="js-selected-navigation-item sunken-menu-item" data-selected-links="repo_graphs repo_contributors /JMNSY/KTXP-dmhyTorrentLinkToMagnet/graphs">
<span class="octicon octicon-graph"></span> <span class="full-word">Graphs</span>
<img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
</a> </li>
</ul>
</nav>
<div class="only-with-full-nav">
<div class="clone-url open"
data-protocol-type="http"
data-url="/users/set_protocol?protocol_selector=http&protocol_type=clone">
<h3><span class="text-emphasized">HTTPS</span> clone URL</h3>
<div class="input-group js-zeroclipboard-container">
<input type="text" class="input-mini input-monospace js-url-field js-zeroclipboard-target"
value="https://github.com/JMNSY/KTXP-dmhyTorrentLinkToMagnet.git" readonly="readonly">
<span class="input-group-button">
<button aria-label="Copy to clipboard" class="js-zeroclipboard minibutton zeroclipboard-button" data-copied-hint="Copied!" type="button"><span class="octicon octicon-clippy"></span></button>
</span>
</div>
</div>
<div class="clone-url "
data-protocol-type="subversion"
data-url="/users/set_protocol?protocol_selector=subversion&protocol_type=clone">
<h3><span class="text-emphasized">Subversion</span> checkout URL</h3>
<div class="input-group js-zeroclipboard-container">
<input type="text" class="input-mini input-monospace js-url-field js-zeroclipboard-target"
value="https://github.com/JMNSY/KTXP-dmhyTorrentLinkToMagnet" readonly="readonly">
<span class="input-group-button">
<button aria-label="Copy to clipboard" class="js-zeroclipboard minibutton zeroclipboard-button" data-copied-hint="Copied!" type="button"><span class="octicon octicon-clippy"></span></button>
</span>
</div>
</div>
<p class="clone-options">You can clone with
<a href="#" class="js-clone-selector" data-protocol="http">HTTPS</a>
or <a href="#" class="js-clone-selector" data-protocol="subversion">Subversion</a>.
<a href="https://help.github.com/articles/which-remote-url-should-i-use" class="help tooltipped tooltipped-n" aria-label="Get help on which URL is right for you.">
<span class="octicon octicon-question"></span>
</a>
</p>
<a href="/JMNSY/KTXP-dmhyTorrentLinkToMagnet/archive/master.zip"
class="minibutton sidebar-button"
aria-label="Download the contents of JMNSY/KTXP-dmhyTorrentLinkToMagnet as a zip file"
title="Download the contents of JMNSY/KTXP-dmhyTorrentLinkToMagnet as a zip file"
rel="nofollow">
<span class="octicon octicon-cloud-download"></span>
Download ZIP
</a>
</div>
</div><!-- /.repository-sidebar -->
<div id="js-repo-pjax-container" class="repository-content context-loader-container" data-pjax-container>
<a href="/JMNSY/KTXP-dmhyTorrentLinkToMagnet/blob/0ad01cd1bd0174fa5c763d1ed06cc6adb09515a2/KTXP%26dmhyTorrentLinkToMagnet.user.js" class="hidden js-permalink-shortcut" data-hotkey="y">Permalink</a>
<!-- blob contrib key: blob_contributors:v21:323788dcf8e9b2fafa106976dfe15596 -->
<div class="file-navigation js-zeroclipboard-container">
<div class="select-menu js-menu-container js-select-menu left">
<span class="minibutton select-menu-button js-menu-target css-truncate" data-hotkey="w"
data-master-branch="master"
data-ref="master"
title="master"
role="button" aria-label="Switch branches or tags" tabindex="0" aria-haspopup="true">
<span class="octicon octicon-git-branch"></span>
<i>branch:</i>
<span class="js-select-button css-truncate-target">master</span>
</span>
<div class="select-menu-modal-holder js-menu-content js-navigation-container" data-pjax aria-hidden="true">
<div class="select-menu-modal">
<div class="select-menu-header">
<span class="select-menu-title">Switch branches/tags</span>
<span class="octicon octicon-x js-menu-close" role="button" aria-label="Close"></span>
</div> <!-- /.select-menu-header -->
<div class="select-menu-filters">
<div class="select-menu-text-filter">
<input type="text" aria-label="Filter branches/tags" id="context-commitish-filter-field" class="js-filterable-field js-navigation-enable" placeholder="Filter branches/tags">
</div>
<div class="select-menu-tabs">
<ul>
<li class="select-menu-tab">
<a href="#" data-tab-filter="branches" class="js-select-menu-tab">Branches</a>
</li>
<li class="select-menu-tab">
<a href="#" data-tab-filter="tags" class="js-select-menu-tab">Tags</a>
</li>
</ul>
</div><!-- /.select-menu-tabs -->
</div><!-- /.select-menu-filters -->
<div class="select-menu-list select-menu-tab-bucket js-select-menu-tab-bucket" data-tab-filter="branches">
<div data-filterable-for="context-commitish-filter-field" data-filterable-type="substring">
<div class="select-menu-item js-navigation-item selected">
<span class="select-menu-item-icon octicon octicon-check"></span>
<a href="/JMNSY/KTXP-dmhyTorrentLinkToMagnet/blob/master/KTXP&dmhyTorrentLinkToMagnet.user.js"
data-name="master"
data-skip-pjax="true"
rel="nofollow"
class="js-navigation-open select-menu-item-text css-truncate-target"
title="master">master</a>
</div> <!-- /.select-menu-item -->
</div>
<div class="select-menu-no-results">Nothing to show</div>
</div> <!-- /.select-menu-list -->
<div class="select-menu-list select-menu-tab-bucket js-select-menu-tab-bucket" data-tab-filter="tags">
<div data-filterable-for="context-commitish-filter-field" data-filterable-type="substring">
<div class="select-menu-item js-navigation-item ">
<span class="select-menu-item-icon octicon octicon-check"></span>
<a href="/JMNSY/KTXP-dmhyTorrentLinkToMagnet/tree/2.0/KTXP%26dmhyTorrentLinkToMagnet.user.js"
data-name="2.0"
data-skip-pjax="true"
rel="nofollow"
class="js-navigation-open select-menu-item-text css-truncate-target"
title="2.0">2.0</a>
</div> <!-- /.select-menu-item -->
</div>
<div class="select-menu-no-results">Nothing to show</div>
</div> <!-- /.select-menu-list -->
</div> <!-- /.select-menu-modal -->
</div> <!-- /.select-menu-modal-holder -->
</div> <!-- /.select-menu -->
<div class="button-group right">
<a href="/JMNSY/KTXP-dmhyTorrentLinkToMagnet/find/master"
class="js-show-file-finder minibutton empty-icon tooltipped tooltipped-s"
data-pjax
data-hotkey="t"
aria-label="Quickly jump between files">
<span class="octicon octicon-list-unordered"></span>
</a>
<button aria-label="Copy file path to clipboard" class="js-zeroclipboard minibutton zeroclipboard-button" data-copied-hint="Copied!" type="button"><span class="octicon octicon-clippy"></span></button>
</div>
<div class="breadcrumb js-zeroclipboard-target">
<span class='repo-root js-repo-root'><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/JMNSY/KTXP-dmhyTorrentLinkToMagnet" class="" data-branch="master" data-direction="back" data-pjax="true" itemscope="url"><span itemprop="title">KTXP-dmhyTorrentLinkToMagnet</span></a></span></span><span class="separator">/</span><strong class="final-path">KTXP&dmhyTorrentLinkToMagnet.user.js</strong>
</div>
</div>
<div class="commit file-history-tease">
<div class="file-history-tease-header">
<img alt="JMNSY" class="avatar" data-user="3366324" height="24" src="https://avatars2.githubusercontent.com/u/3366324?v=3&s=48" width="24" />
<span class="author"><a href="/JMNSY" rel="author">JMNSY</a></span>
<time datetime="2014-12-04T16:52:42Z" is="relative-time">Dec 5, 2014</time>
<div class="commit-title">
<a href="/JMNSY/KTXP-dmhyTorrentLinkToMagnet/commit/0ad01cd1bd0174fa5c763d1ed06cc6adb09515a2" class="message" data-pjax="true" title="Update KTXP&dmhyTorrentLinkToMagnet.user.js">Update KTXP&dmhyTorrentLinkToMagnet.user.js</a>
</div>
</div>
<div class="participation">
<p class="quickstat">
<a href="#blob_contributors_box" rel="facebox">
<strong>1</strong>
contributor
</a>
</p>
</div>
<div id="blob_contributors_box" style="display:none">
<h2 class="facebox-header">Users who have contributed to this file</h2>
<ul class="facebox-user-list">
<li class="facebox-user-list-item">
<img alt="JMNSY" data-user="3366324" height="24" src="https://avatars2.githubusercontent.com/u/3366324?v=3&s=48" width="24" />
<a href="/JMNSY">JMNSY</a>
</li>
</ul>
</div>
</div>
<div class="file-box">
<div class="file">
<div class="meta clearfix">
<div class="info file-name">
<span>37 lines (35 sloc)</span>
<span class="meta-divider"></span>
<span>1.289 kb</span>
</div>
<div class="actions">
<div class="button-group">
<a href="/JMNSY/KTXP-dmhyTorrentLinkToMagnet/raw/master/KTXP%26dmhyTorrentLinkToMagnet.user.js" class="minibutton " id="raw-url">Raw</a>
<a href="/JMNSY/KTXP-dmhyTorrentLinkToMagnet/blame/master/KTXP%26dmhyTorrentLinkToMagnet.user.js" class="minibutton js-update-url-with-hash">Blame</a>
<a href="/JMNSY/KTXP-dmhyTorrentLinkToMagnet/commits/master/KTXP%26dmhyTorrentLinkToMagnet.user.js" class="minibutton " rel="nofollow">History</a>
</div><!-- /.button-group -->
<a class="octicon-button disabled tooltipped tooltipped-w" href="#"
aria-label="You must be signed in to make or propose changes"><span class="octicon octicon-pencil"></span></a>
<a class="octicon-button danger disabled tooltipped tooltipped-w" href="#"
aria-label="You must be signed in to make or propose changes">
<span class="octicon octicon-trashcan"></span>
</a>
</div><!-- /.actions -->
</div>
<div class="blob-wrapper data type-javascript">
<table class="highlight tab-size-8 js-file-line-container">
<tr>
<td id="L1" class="blob-num js-line-number" data-line-number="1"></td>
<td id="LC1" class="blob-code js-file-line"><span class="pl-c">// ==UserScript==</span></td>
</tr>
<tr>
<td id="L2" class="blob-num js-line-number" data-line-number="2"></td>
<td id="LC2" class="blob-code js-file-line"><span class="pl-c">// @name KTXP&dmhyTorrentLinkToMagnet</span></td>
</tr>
<tr>
<td id="L3" class="blob-num js-line-number" data-line-number="3"></td>
<td id="LC3" class="blob-code js-file-line"><span class="pl-c">// @namespace http://KTXP&dmhyTorrentLinkToMagnet/</span></td>
</tr>
<tr>
<td id="L4" class="blob-num js-line-number" data-line-number="4"></td>
<td id="LC4" class="blob-code js-file-line"><span class="pl-c">// @version 2.1</span></td>
</tr>
<tr>
<td id="L5" class="blob-num js-line-number" data-line-number="5"></td>
<td id="LC5" class="blob-code js-file-line"><span class="pl-c">// @description 在极影首页以及搜索页添加一个的绿底白箭头,链接为该资源的磁链;在动漫花园把蓝箭头的链接换成磁链。</span></td>
</tr>
<tr>
<td id="L6" class="blob-num js-line-number" data-line-number="6"></td>
<td id="LC6" class="blob-code js-file-line"><span class="pl-c">// @match http://bt.ktxp.com/*</span></td>
</tr>
<tr>
<td id="L7" class="blob-num js-line-number" data-line-number="7"></td>
<td id="LC7" class="blob-code js-file-line"><span class="pl-c">// @match *://share.dmhy.org</span></td>
</tr>
<tr>
<td id="L8" class="blob-num js-line-number" data-line-number="8"></td>
<td id="LC8" class="blob-code js-file-line"><span class="pl-c">// @match *://share.dmhy.org/topics/list*</span></td>
</tr>
<tr>
<td id="L9" class="blob-num js-line-number" data-line-number="9"></td>
<td id="LC9" class="blob-code js-file-line"><span class="pl-c">// @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html</span></td>
</tr>
<tr>
<td id="L10" class="blob-num js-line-number" data-line-number="10"></td>
<td id="LC10" class="blob-code js-file-line"><span class="pl-c">// @copyright 2014.01.17, JMNSY</span></td>
</tr>
<tr>
<td id="L11" class="blob-num js-line-number" data-line-number="11"></td>
<td id="LC11" class="blob-code js-file-line"><span class="pl-c">// ==/UserScript==<</span></td>
</tr>
<tr>
<td id="L12" class="blob-num js-line-number" data-line-number="12"></td>
<td id="LC12" class="blob-code js-file-line">
</td>
</tr>
<tr>
<td id="L13" class="blob-num js-line-number" data-line-number="13"></td>
<td id="LC13" class="blob-code js-file-line">jQuery().ready(<span class="pl-st">function</span>(){</td>
</tr>
<tr>
<td id="L14" class="blob-num js-line-number" data-line-number="14"></td>
<td id="LC14" class="blob-code js-file-line"> <span class="pl-s">var</span> link;</td>
</tr>
<tr>
<td id="L15" class="blob-num js-line-number" data-line-number="15"></td>
<td id="LC15" class="blob-code js-file-line"> <span class="pl-s">var</span> switchy;</td>
</tr>
<tr>
<td id="L16" class="blob-num js-line-number" data-line-number="16"></td>
<td id="LC16" class="blob-code js-file-line"> <span class="pl-k">if</span>(jQuery(<span class="pl-s1"><span class="pl-pds">"</span>.quick-down<span class="pl-pds">"</span></span>).<span class="pl-sc">length</span> <span class="pl-k">></span> <span class="pl-c1">0</span>){</td>
</tr>
<tr>
<td id="L17" class="blob-num js-line-number" data-line-number="17"></td>
<td id="LC17" class="blob-code js-file-line"> link <span class="pl-k">=</span> jQuery(<span class="pl-s1"><span class="pl-pds">"</span>.quick-down<span class="pl-pds">"</span></span>);</td>
</tr>
<tr>
<td id="L18" class="blob-num js-line-number" data-line-number="18"></td>
<td id="LC18" class="blob-code js-file-line"> switchy <span class="pl-k">=</span> <span class="pl-c1">1</span>;</td>
</tr>
<tr>
<td id="L19" class="blob-num js-line-number" data-line-number="19"></td>
<td id="LC19" class="blob-code js-file-line"> }</td>
</tr>
<tr>
<td id="L20" class="blob-num js-line-number" data-line-number="20"></td>
<td id="LC20" class="blob-code js-file-line"> <span class="pl-k">if</span>(jQuery(<span class="pl-s1"><span class="pl-pds">"</span>.download-arrow[title='種子']<span class="pl-pds">"</span></span>).<span class="pl-sc">length</span> <span class="pl-k">></span> <span class="pl-c1">0</span>){</td>
</tr>
<tr>
<td id="L21" class="blob-num js-line-number" data-line-number="21"></td>
<td id="LC21" class="blob-code js-file-line"> link <span class="pl-k">=</span> jQuery(<span class="pl-s1"><span class="pl-pds">"</span>.download-arrow[title='種子']<span class="pl-pds">"</span></span>);</td>
</tr>
<tr>
<td id="L22" class="blob-num js-line-number" data-line-number="22"></td>
<td id="LC22" class="blob-code js-file-line"> switchy <span class="pl-k">=</span> <span class="pl-c1">0</span>;</td>
</tr>
<tr>
<td id="L23" class="blob-num js-line-number" data-line-number="23"></td>
<td id="LC23" class="blob-code js-file-line"> }</td>
</tr>
<tr>
<td id="L24" class="blob-num js-line-number" data-line-number="24"></td>
<td id="LC24" class="blob-code js-file-line"> link.each(<span class="pl-st">function</span>(){</td>
</tr>
<tr>
<td id="L25" class="blob-num js-line-number" data-line-number="25"></td>
<td id="LC25" class="blob-code js-file-line"> temp <span class="pl-k">=</span> jQuery(<span class="pl-v">this</span>).clone();</td>
</tr>
<tr>
<td id="L26" class="blob-num js-line-number" data-line-number="26"></td>
<td id="LC26" class="blob-code js-file-line"> str <span class="pl-k">=</span> jQuery(<span class="pl-v">this</span>).attr(<span class="pl-s1"><span class="pl-pds">"</span>href<span class="pl-pds">"</span></span>);</td>
</tr>
<tr>
<td id="L27" class="blob-num js-line-number" data-line-number="27"></td>
<td id="LC27" class="blob-code js-file-line"> <span class="pl-s">var</span> words <span class="pl-k">=</span> str.<span class="pl-s3">split</span>(<span class="pl-s1"><span class="pl-pds">"</span>/<span class="pl-pds">"</span></span>);</td>
</tr>
<tr>
<td id="L28" class="blob-num js-line-number" data-line-number="28"></td>
<td id="LC28" class="blob-code js-file-line"> torrent <span class="pl-k">=</span> words[words.<span class="pl-sc">length</span> <span class="pl-k">-</span> <span class="pl-c1">1</span>];</td>
</tr>
<tr>
<td id="L29" class="blob-num js-line-number" data-line-number="29"></td>
<td id="LC29" class="blob-code js-file-line"> hash <span class="pl-k">=</span> torrent.<span class="pl-s3">split</span>(<span class="pl-s1"><span class="pl-pds">"</span>.<span class="pl-pds">"</span></span>)[<span class="pl-c1">0</span>];</td>
</tr>
<tr>
<td id="L30" class="blob-num js-line-number" data-line-number="30"></td>
<td id="LC30" class="blob-code js-file-line"> magnet <span class="pl-k">=</span> <span class="pl-s1"><span class="pl-pds">"</span>magnet:?xt=urn:btih:<span class="pl-pds">"</span></span> <span class="pl-k">+</span> hash;</td>
</tr>
<tr>
<td id="L31" class="blob-num js-line-number" data-line-number="31"></td>
<td id="LC31" class="blob-code js-file-line"> <span class="pl-k">if</span>(switchy <span class="pl-k">==</span> <span class="pl-c1">1</span>)</td>
</tr>
<tr>
<td id="L32" class="blob-num js-line-number" data-line-number="32"></td>
<td id="LC32" class="blob-code js-file-line"> jQuery(<span class="pl-v">this</span>).before(temp.attr(<span class="pl-s1"><span class="pl-pds">"</span>href<span class="pl-pds">"</span></span>,magnet));</td>
</tr>
<tr>
<td id="L33" class="blob-num js-line-number" data-line-number="33"></td>
<td id="LC33" class="blob-code js-file-line"> <span class="pl-k">else</span></td>
</tr>
<tr>
<td id="L34" class="blob-num js-line-number" data-line-number="34"></td>
<td id="LC34" class="blob-code js-file-line"> jQuery(<span class="pl-v">this</span>).attr(<span class="pl-s1"><span class="pl-pds">"</span>href<span class="pl-pds">"</span></span>,magnet);</td>
</tr>
<tr>
<td id="L35" class="blob-num js-line-number" data-line-number="35"></td>
<td id="LC35" class="blob-code js-file-line"> });</td>
</tr>
<tr>
<td id="L36" class="blob-num js-line-number" data-line-number="36"></td>
<td id="LC36" class="blob-code js-file-line">});</td>
</tr>
</table>
</div>
</div>
</div>
<a href="#jump-to-line" rel="facebox[.linejump]" data-hotkey="l" style="display:none">Jump to Line</a>
<div id="jump-to-line" style="display:none">
<form accept-charset="UTF-8" class="js-jump-to-line-form">
<input class="linejump-input js-jump-to-line-field" type="text" placeholder="Jump to line…" autofocus>
<button type="submit" class="button">Go</button>
</form>
</div>
</div>
</div><!-- /.repo-container -->
<div class="modal-backdrop"></div>
</div><!-- /.container -->
</div><!-- /.site -->
</div><!-- /.wrapper -->
<div class="container">
<div class="site-footer" role="contentinfo">
<ul class="site-footer-links right">
<li><a href="https://status.github.com/">Status</a></li>
<li><a href="https://developer.github.com">API</a></li>
<li><a href="http://training.github.com">Training</a></li>
<li><a href="http://shop.github.com">Shop</a></li>
<li><a href="/blog">Blog</a></li>
<li><a href="/about">About</a></li>
</ul>
<a href="/" aria-label="Homepage">
<span class="mega-octicon octicon-mark-github" title="GitHub"></span>
</a>
<ul class="site-footer-links">
<li>© 2014 <span title="0.03391s from github-fe133-cp1-prd.iad.github.net">GitHub</span>, Inc.</li>
<li><a href="/site/terms">Terms</a></li>
<li><a href="/site/privacy">Privacy</a></li>
<li><a href="/security">Security</a></li>
<li><a href="/contact">Contact</a></li>
</ul>
</div><!-- /.site-footer -->
</div><!-- /.container -->
<div class="fullscreen-overlay js-fullscreen-overlay" id="fullscreen_overlay">
<div class="fullscreen-container js-suggester-container">
<div class="textarea-wrap">
<textarea name="fullscreen-contents" id="fullscreen-contents" class="fullscreen-contents js-fullscreen-contents" placeholder=""></textarea>
<div class="suggester-container">
<div class="suggester fullscreen-suggester js-suggester js-navigation-container"></div>
</div>
</div>
</div>
<div class="fullscreen-sidebar">
<a href="#" class="exit-fullscreen js-exit-fullscreen tooltipped tooltipped-w" aria-label="Exit Zen Mode">
<span class="mega-octicon octicon-screen-normal"></span>
</a>
<a href="#" class="theme-switcher js-theme-switcher tooltipped tooltipped-w"
aria-label="Switch themes">
<span class="octicon octicon-color-mode"></span>
</a>
</div>
</div>
<div id="ajax-error-message" class="flash flash-error">
<span class="octicon octicon-alert"></span>
<a href="#" class="octicon octicon-x flash-close js-ajax-error-dismiss" aria-label="Dismiss error"></a>
Something went wrong with that request. Please try again.
</div>
<script crossorigin="anonymous" src="https://assets-cdn.github.com/assets/frameworks-153d6254b838872c8db73c8bd92905913f6f5b2164b7e40e5292286bd5a39403.js" type="text/javascript"></script>
<script async="async" crossorigin="anonymous" src="https://assets-cdn.github.com/assets/github-e8ca46a2e29541d45494e81776bef3c24c5a9e08fcf9e2bea936409c77390776.js" type="text/javascript"></script>
</body>
</html>