Comments (2)
On looking at this, there are a number of areas that indicate integration is not possible.
Chrome extensions cannot be url handlers. I believe this used to be possible in the app logic, but this has been removed.
As such, the nzblnk
protocol needs to be handled by something, but the only two remaining methods are applications on the local machine registered to handle said protocol, or external web-pages, which will receive the data after nzblnk:
and provide a response.
NZB Monkey in this case provides a "external application" implementation. An external site would require external resources.
The way NZBLNK works differs as well.
This extension does not perform any searches for nzbs. Instead, it reads the DOM content of each supported indexes web-page as you view a category view, or search results. When it matches the applicable patterns, it inject additional links which instead of downloading an NZB to your local machine, dispatches the URL to the download to the SAB API. The NZB download links are typically already in the results, we are just supplementing them.
However, in NZBLNK, the metadata it contains is insufficient to instruct SAB on what it needs to obtain. A new search must be conducted to a one or more indexes and the search results consulted. Provided there is a match (which there is an expectation there should be), the results will contain one or more URLs that could be sent to SAB.
NZB Monkey provides this extra layer. It handles the click of the protocol, uses the metadata from the link to conduct a search and then dispatches results to SAB if needed.
So in addition to needing to find a way to make the extension handle new protocols (which per above I don;t think is possible any more), it would also now need to start conducting searches on indexers.
I highly suspect that there are a number of problems with this that are likely to be considered suspect by the Chrome Extension review process.
Also bear in mind that this extension operates today without providing any credentials (other than to SAB). It simply acts on your visit to an indexer and leverages the fact you are logged in to view results. To conduct autonomous searches though, would require that you store credentials for the indexers.
That is not to say this would make it impossible, but I do wonder why the long route of integrating all these extra requirements, when it may have been easier to just make this extension inject one of its own links into the page you found the NZBLNK on, cutting out all this extra logistics which are effectively already complete if you can see the NZBLNK icon.
from sabconnectplusplus.
thank you for this really good answer.
nzblnk:?t=NAME&h=HEADER&p=PASSWORD
i think it could be possible that sabconnect++ can open the NZBLNK URL and search for the HEADER in your prefered NZB indexer. sabconnect++ needs a new option for this prefered NZB indexer then.
the NAME and PASSWORD can be forwarded as URL parameter and grabbed and attached to the "send to sabnzbd" button
from sabconnectplusplus.
Related Issues (20)
- UI is messed up when opening SabNzbd from Sabconnect HOT 1
- Firefox version? HOT 1
- sabconnect causes yahoo sites to autoscroll HOT 3
- Max Speed should be % of maximum line speed not KBps HOT 1
- nzbfinder.ws - Newznab cant be added HOT 2
- 1-click nzb downloading not working with nzbindex.com HOT 3
- NZBFinder One Click Download Not working HOT 1
- bandwidth graph not visible? HOT 3
- Click on Open SABnzbd does not work HOT 3
- Firefox support HOT 1
- NZB Geek has a new site and sabconnect++ icon not showing HOT 2
- sabconnect++ stopped working with omgwtfnzbs HOT 3
- *woof* dognzb.cr - sabconnect++ button has disappeared as of 12-Mar-2021 HOT 1
- Stopped working with Dognzb HOT 4
- Sab button goes away on OMGnzb every shutdown HOT 4
- No longer works with latest Edge update HOT 3
- Sending wrong URL to DogNZB HOT 1
- omgwtfnzbs TLD change, new domain not working via custom newznab provider list HOT 3
- Optioal feature: Start SABnzbd HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sabconnectplusplus.