tidbit Posted June 27, 2014 Report Share Posted June 27, 2014 Opera and Firefox and others.. have an addon called "snap links". It allows you to open all urls within a selection box. Just draw a rectangle and every url (partial or full, maybe it could be an option) in the region is opened in new tabs. This feature comes in handy fairly often, especially if you have 20-500 links to open. Saves a lot of time. So.. could this be added into maxthon? Or perhaps could someone develop an extension (If so, please move this topic to the extension section). Or... where are the learning resources for extension development? I could maybe attempt it myself. Link to comment Share on other sites More sharing options...
7twenty Posted June 28, 2014 Report Share Posted June 28, 2014 This used to be available in MX2 (if i'm not mistaken). Was never brought back in MX3 despite some requests. I can't see any reason it can't be implemented via an extension. If you have the skills the information is available here: http://forum.maxthon.com/thread-801-1-1.html Link to comment Share on other sites More sharing options...
tidbit Posted June 28, 2014 Author Report Share Posted June 28, 2014 Thanks, will look into it. Edit: looked into it. Seems that extensions use JS/HTML/CSS. Not too hard. I was expecting something like C++ and seemingly random .dll files everywhere. Now I have a reason to try JS again. I've done basic stuff, but nothing serious. Link to comment Share on other sites More sharing options...
7twenty Posted June 29, 2014 Report Share Posted June 29, 2014 From someone with minimal experience with coding, i'd imagine it's just a matter of detecting URLs in the selection and then opening them in new tabs. You just need to know how to get the links from the selection, as opening in a new tab should be relatively straight forward. Just not sure how the built-in Drag'n'Drop might affect it, unless you don't use D'n'D like the MX2 version?! Good luck with it. Link to comment Share on other sites More sharing options...
tidbit Posted June 29, 2014 Author Report Share Posted June 29, 2014 detecting the links is the hard part Not quite sure how to go about it. the Opera addon draws a DIV control over the selected area and it modifies the pages source code (I think, it has been a while). It then probably detects all "a href" tags within the newly drawn boxs and . I could probably do something similar, once I figure out how .. if you understood any of that .Gif example: http://imgur.com/2hoBNTJ As for the drag-n-drop, I would probably use a modifier (ctrl, shift or alt) while the right-mouse button is held. Current default gestures use right-click, but if you hold down ctrl or something, gestures don't work. So that opens up a few more hotkey choices. If I (or a friend who also wants this (we both can program)) ever do get this working, we could probably ask the community what hotkey users would like best. Link to comment Share on other sites More sharing options...
tidbit Posted June 30, 2014 Author Report Share Posted June 30, 2014 Got the source of the Chrome version of Snap Links. did a (really) quick look-over. Doesn't seem terribly complex. Maybe someone with MX extension knowledge could convert it faster than me re-learning JS and attempting it? chrome version source: https://dl.dropboxusercontent.com/u/28896988/ShareX/snap_links_chrome.zip Should this topic be moved to the Extensions section? Or is this still a "users voice"? Link to comment Share on other sites More sharing options...
7twenty Posted June 30, 2014 Report Share Posted June 30, 2014 I had a quick look out of curiosity, but it's way beyond what I know. (Only just started reading a book about JS :-P) I'd guess a lot should/could stay as is, just anything relating to Chrome API calls would obviously need to be changed to work with the MX ones. Based on other similar requests, you either give up on it or figure it out yourself. There's not too many users that seem to have that much knowledge, or at least the inclination to do such things. Link to comment Share on other sites More sharing options...
30682659 Posted August 21, 2014 Report Share Posted August 21, 2014 hi mate, I need snap links for maxthon browser so if anyone have share the url ..........!:) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.