GithubHelp home page GithubHelp logo

savenkat / browserporthelper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chandanapericharla/browserporthelper

0.0 1.0 0.0 13 KB

An utility helper to capture currently open browser tabs and also to open a set of tabs in the desired browser given a list of urls.

C# 100.00%

browserporthelper's Introduction

BrowserPortHelper

An utility helper to capture currently open browser tabs and also to open a set of tabs in the desired browser given a list of urls.

Chrome: -> In chrome we can only access the url of currently active tab. For being able to capture all the open tabs, we trigger a 'ctrl + tab' key press event repetatively to shift the focus to all the tabs inside a window and then read the url. -> In case the browser window is minimized, no UI will be rendered. This will result in an empty list of tabs when one tries to look up programatically. In order to handle this issue, we first invoke a "Alt + TAB" key press event multiple times to ensure all the open windows are maximized.

Both the "Ctrl + TAB" and "ALT + TAB" approaches are quite clumpsy as they visually keep shifting the focus from one window to the other. Will stick with this, until I find a more elegant solution for this problem.

browserporthelper's People

Contributors

chandanapericharla avatar chperich avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.