Coder Social home page Coder Social logo

Comments (15)

mikesteele avatar mikesteele commented on May 31, 2024

from dual-captions.

roseperrone avatar roseperrone commented on May 31, 2024

Thanks for your quick reply, Mike! I can wait :)

from dual-captions.

mikesteele avatar mikesteele commented on May 31, 2024

Fixed by PR #39 (thanks again!)

from dual-captions.

roseperrone avatar roseperrone commented on May 31, 2024

from dual-captions.

mikesteele avatar mikesteele commented on May 31, 2024

I can’t see your screenshot, but that error means content scripts were not injected. I often see it when I install the extension and try to use it on a YouTube tab I opened before I installed. (As content scripts aren’t injected retroactively) That case is expected, which is why I put to try refreshing in the error message. Does it happen on refresh?

from dual-captions.

roseperrone avatar roseperrone commented on May 31, 2024

from dual-captions.

mikesteele avatar mikesteele commented on May 31, 2024

from dual-captions.

mikesteele avatar mikesteele commented on May 31, 2024

from dual-captions.

roseperrone avatar roseperrone commented on May 31, 2024

from dual-captions.

mikesteele avatar mikesteele commented on May 31, 2024

from dual-captions.

mikesteele avatar mikesteele commented on May 31, 2024

Hey Rose, I shipped a new version of the app to the Chrome Web Store. (v1.3.1) Curious if it fixes this issue for you. Let me know! :-)

from dual-captions.

roseperrone avatar roseperrone commented on May 31, 2024

from dual-captions.

mikesteele avatar mikesteele commented on May 31, 2024

Thanks! I still have no idea. 😅

Whenever you have time, see if you get any errors trying to query the active tab ID yourself. You'll have to run these snippets from the popup's console. (I really appreciate you helping me debug this!)

(Adapted from https://github.com/mikesteele/dual-captions/blob/master/src/utils/chrome.js)

window.chrome.tabs.query({
  currentWindow: true,
  active: true
}, tabs => {
  console.log(`Current Window, Active Tab ID: ${tabs[0].id}`);
});

And

window.chrome.tabs.query({
  active: true
}, tabs => {
  console.log(`No current window, Active Tab ID: ${tabs[0].id}`);
});

When I run them, I get:

Current Window, Active Tab ID: 138
No current window, Active Tab ID: 138

from dual-captions.

roseperrone avatar roseperrone commented on May 31, 2024

from dual-captions.

mikesteele avatar mikesteele commented on May 31, 2024

from dual-captions.

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.