Educational Magnet Link And How Does It Differ From Torrents?

Magnet linker is an extension for Chrome, the new chromium Microsoft Edge và Firefox that extends magnet link on websites lớn enable the quick adding of torrents to Transmission via the RPC API.

Bạn đang xem: Educational Magnet Link And How Does It Differ From Torrents?

View on binhchanhhcm.edu.vn
Magnet Linker

*
*
*
*
*
*

This is an extension for Chromium browsers và Firefox that extends magnet liên kết on websites khổng lồ enable the quick adding of torrents lớn Transmission via the RPC API.

Any magnet links found on a page are extended with a button displayed next lớn the links which sends that torrent straight khổng lồ your Transmission instance.

Custom HTML can be added both before and after the button element based on a tìm kiếm of a websites URL, as well as adjustment of the div float on the button HTML.

Getting started

Extension on the Chrome web store

Extension on the Microsoft Edge add-ons store

Add-on on the Firefox add-ons store

Once installed in your browser go khổng lồ the options page and configure the extension.

Change log

New features (V2)

Allow storage of magnets to be disabled. Allow found magnets in storage to lớn not disable injected buttons. Full rewrite including: Grunt added as a task runner và all external libs now added via npm. Fully consolidate chromium & firefox dists.

API

Fill out the respective fields to lớn build the URL that points to lớn your Transmission API.

Xem thêm: Bị Dính Chữ Trong Word 2007, Khắc Phục Lỗi Dính Chữ Trong Word 2007

Magnet search

You can configure how magnet liên kết are found on web pages by adding attributes or element types to tìm kiếm for. There are currently 2 ways that elements are found in the DOM:

by an element’s attribute

For example href will find the magnet liên kết in an element like:

Magnet link

by an element’s type

For example code will find the magnet link in an element like:

magnet:?xt=urn:btih:d540fc48eb12f2833163eed6421d449dd8f1ce1f&dn=Ubuntu+desktop+19.04+%2864bit%29

This kind of element searching is useful for searching on websites where magnet link are written out rather than linked, such as Reddit

Customise injected HTML

On a site by site basis you can customise the HTML that surrounds the injected ‘send to transmission’ button, and also the float characteristics of the div. For example, on Zooqle it’s worth setting the floatto none khổng lồ better position the buttons on the page. The ‘search’ parameter must match all or part of the website’s URL, so for Zooqle for example, just use ‘zooqle’.

Magnet storage

The extension has the option to lớn store all magnets that have been sent khổng lồ the transmission API so that when a page is loaded, buttons can be markes as ‘already sent’ for those liên kết already added. Buttons can also be set lớn enable or disable when a corresponding magnet is founf in storage.

The Storage tab in options allows you to see all of these magnets and clear down the menu if you choose.

Create package

Uses grunt as a task runner, run the following from the root directory khổng lồ build:


The grunt release config executes a Powershell script khổng lồ run web-ext, this can be changed to a bash file if preferred (see comments in the Gruntfile.js).

Contribute

If you can make this extension better I’m happy for the help! Please create a pull request & get in touch. Alternatively feel miễn phí to raise an issue if you’ve found a bug or want to suggest a new feature.

Leave a Reply

Your email address will not be published. Required fields are marked *

x

Welcome Back!

Login to your account below

Retrieve your password

Please enter your username or email address to reset your password.