Code Monkey home page Code Monkey logo

Comments (9)

groovecoder avatar groovecoder commented on September 15, 2024

Damn, this is a regression on more than just PBM windows. I'll check it out.

from blok.

groovecoder avatar groovecoder commented on September 15, 2024

Hmm ... had trouble reproducing this behavior in DE ... but I found another bug

Steps to reproduce:

  1. git checkout master
  2. npm install
  3. ./node_modules/.bin/web-ext run --firefox-binary=/Applications/FirefoxDeveloperEdition.app/Contents/MacOS/firefox-bin --firefox-profile=Blok
  4. Open tulsaworld.com
  5. See Blok toolbar
  6. Click "Disable Blok on this site"
  7. Page refreshes; Blok toolbar shows " Blok is disabled. Parts of this site my be tracking your activity. Enable Blok on this site."; a bunch more ads show
  8. Click "Enable Blok on this site."
  9. Page refreshes; Blok toolbar shows " Blok is enabled. It is blocking tracker requests on this site. Disable Blok for this website. "; a bunch of ads disappear
  10. Open a PBM window
  11. Go to tulsaworld.com
  12. Blok toolbar shows " Blok is enabled. It is blocking tracker requests on this site. Disable Blok for this website. ";
  13. Click "Disable Blok on this site"
  14. The first (non-PBM) window refreshes!!

from blok.

groovecoder avatar groovecoder commented on September 15, 2024

@rbillings - what version of Blok does your about:addons show?

from blok.

groovecoder avatar groovecoder commented on September 15, 2024

FWIW, I sent #76 to fix the issue I found. Your issue may be related or caused by the same thing, so it may be worth trying this again after I merge that PR.

from blok.

rbillings avatar rbillings commented on September 15, 2024

extensions.bootstrappedAddons version = 2.0.17
I'll re-check after the PR is merged

from blok.

groovecoder avatar groovecoder commented on September 15, 2024

I merged #76 into master, and this seems to be fixed for me with version = 0.1.8. The issue wasn't PBM-specific; any new/2nd window failed to enable/disable Blok because I wasn't setting the active tab ID when window focus changed.

from blok.

rbillings avatar rbillings commented on September 15, 2024

@groovecoder how do I get the updated .xpi file for testing?

from blok.

groovecoder avatar groovecoder commented on September 15, 2024

Uplifting from IRC ...

rbillings: grab the latest .xpi from https://github.com/mozilla/blok/tree/master/web-ext-artifacts
10:24 AM <groovecoder> rbillings: working on a process this week that will create a -latest.xpi file, but it’s not done yet
10:30 AM <rbillings> groovecoder: thanks- the link in the README goes directly to the old version, so this is very helpful
10:31 AM <groovecoder> rbillings: yeah, sorry about that. pdehaan has a fix for that in https://github.com/mozilla/blok/pull/68/files

from blok.

rbillings avatar rbillings commented on September 15, 2024

Tested with the new .xpi file and everything looks good.

from blok.

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.