balta2ar / brotab

Control your browser's tabs from the command line
MIT License
406 stars 29 forks source link

Several Changes : #21

Closed naeloob closed 4 years ago

naeloob commented 4 years ago

Mediator : Fix to work on windows. Mediator : Checks the ports to look for the first not open. Fix words comand : avoid an http redirect that generates an error. Fix move command : Notepad for windows as editor, fix cannot open a temporary open file, add encoding='utf-8' to void char problems. Add Focus command : It will activate the Tab and focus the window. It doesn't always bring to front, but it highlight it and helps to find it. Usefull if you have a lot of windows and need to know where is the tab. Fix query : fixed an inconsistency in the number of parameters in the query method call NEW: parameter to use a ',' separate list of IP:PORT to connect. If you have too much browsers to check, you can point unique to a list of them. It allows to point to a browser on another IP, not only localhost, without the need of network tweak(as port redirect).

Still testing, but with this patches i can make a great use on Windows/Chrome. Hope it will work ok on the other OS/Browser combinations. It will need more changes for Windows/FF.

balta2ar commented 4 years ago

Thanks a lot for the pull request, I reworked it a bit and merged in #22.