Giter Club home page Giter Club logo

Comments (5)

Sethionic avatar Sethionic commented on July 21, 2024

Echoing the sentiment and confirming the issue.
(Posted on official chrome store page)

My only gripe is that, when enabled for incognito mode, every new instantiation (opening an incognito tab when none are already open) opens a new tab with an explanation of what the app is and takes the focus away from the new tab and its location bar. I use incognito tabs for quick new sessions or testing things quite frequently, so this is a bit irritating.

from thegreatsuspender.

Sethionic avatar Sethionic commented on July 21, 2024

Upon further inspection, it looks like the code causing the issue is here in background.js :

if (!lastVersion) {
                gsUtils.setGsHistory([]);

                //show welcome screen
                chrome.tabs.create({url: chrome.extension.getURL('welcome.html')});

from:

    function runStartupChecks() {

        var tidyUrls = gsUtils.getOption(gsUtils.TIDY_URLS),
            lastVersion = gsUtils.fetchVersion(),
            curVersion = chrome.runtime.getManifest().version;

        //check for possible crash
        if (!tidyUrls) {
            checkForCrashRecovery();
        }

        //if version has changed then assume initial install or upgrade
        if (lastVersion !== curVersion) {
            gsUtils.setVersion(curVersion);

            //if they are installing for the first time
            if (!lastVersion) {
                gsUtils.setGsHistory([]);

                //show welcome screen
                chrome.tabs.create({url: chrome.extension.getURL('welcome.html')});
            //else if they are upgrading to a new version
            } else {
                //if pre v5 then perform migration
                if (parseFloat(lastVersion) < 5) {
                    gsUtils.performMigration();
                }

                //show update screen
                chrome.tabs.create({url: chrome.extension.getURL('update.html')});
            }
        }

        //inject new content script into all open pages
        reinjectContentScripts();
    }

from thegreatsuspender.

deanoemcke avatar deanoemcke commented on July 21, 2024

This has been fixed in the current dev version. Sorry it's taking a while to get out there.

from thegreatsuspender.

patrickhealy avatar patrickhealy commented on July 21, 2024

Hey, any chance of you updating this in the chrome store? It would get a lot more downloads. :-)

from thegreatsuspender.

deanoemcke avatar deanoemcke commented on July 21, 2024

Webstore will be updated shortly.

from thegreatsuspender.

Related Issues (20)

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.