Git Product home page Git Product logo

always-active's People

Contributors

aryan-dwivedi avatar brian-girko avatar uttusharma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

always-active's Issues

Doesn't work in google meet website.

This extension doesn't work in meet.google.com website. Google meet displays the request join dialogue only when the visibilityState is not "hidden" and this extension was not able to bypass this website. Please find a fix for this.

Update wants access to all sites

I have v0.2.3, and have it limited to only access twitch.tv as this is the site I need it to work on. It has been working great to prevent their onblur bandwidth downgrade system that 9/10 times breaks streams.

But now my flavor of chromium is bugging me to update the extension, and that the addon now requires "Read and change all your data on all websites". If I upgrade can I revert back to twitch only? If not, why does the extension now require access to all sites?

Thanks!

edge not work

This doesn't work as I thought it would.
For this to work properly,
At edge://discards, the visibility of all tabs must be visible.
But this extension cannot make it visible.

Not working on "bing chat"

When we are in another tab, Bing Chat stops generating the response, only when we return to the tab does it continue to generate the response

Whitelist mode

Can you add an option to only enable on specific websites? Not all websites I want to be active

Window throttled if not partially visible on the desktop

I'm noticing that if the window I'm trying to keep active is completely behind another window, it continues to be throttled. As soon as just a tiny fraction of the background window becomes visible, it begins to function normally again. Is there any way to get a fully backgrounded window to behave as though it's active and visible?

Fullscreen detection

Works well for me but I would like an option to make my browser think I'm on full screen when i leave a page.
Is this possible by overwriting the document.fullscreenElement event?

[Request] Fire synthetic events on page load, for extra site compatibility

This is a feature request and bug fix in one.

Some pages will initially load, but will wait before critical operations like laying out the page or loading assets, until the page is visible. For these pages we need to allow the visibility API and friends to pass, and this continues for the entire lifetime of the page - but we only really needed that one event, to kick things off.

If this addon fired a single synthetic event of each type it would later block, once the page is loaded, then we could keep a lot more sites blocked.

This also helps in general, to avoid a failure mode, where for example the site thinks the page is visible, since document.visibilityState == true, but never learns it is visible because no visibilityChange event was ever received, so there's this element that can logically be both 'visible' and 'not visible' at the same time, or neither visible nor invisible, according to entirely legitimate code. (this exact scenario broke the very popular Dark Reader addon (they provided a workaround at their end, to not check visibility))

Although it's always nice, I'm not even sure this needs to be optional. Firstly, it's fixing a bug, but secondly; At the moment, we gain privacy by giving no data on page visibility via events, and false data via variables, but I'd say there's even greater privacy in providing false data on page visibility via events, as well.

High CPU usage

This extension is using high CPU usage around 20-30%. As soon as I switched off this extension, the usage went back down

I was trying to debug even though I don't have knowledge in extension, and I caught this error

image

Maybe this is the fault?

I used v3 - v0.2.2

[Request] Policy filters, for site compatibility with minimal privacy impact.

As we are aware, blocking these APIs breaks some websites, so we need to allow some events to pass.
For example, hovering many elements on youtube shows a tooltip, and the tooltip will never disappear, unless we allow mouseleave like so:

  "www.youtube.com": [
    "mouseleave"
  ]

However, while we need to allow mouseleave for the individual elements within the page (divs), in order to enjoy the functionality of things like tooltips, we don't need to allow it for elements such as window, document, html, body, etc. etc., since they rarely offer any real functionality besides tracking.

I wonder if we could provide an element selector as a filter for allowing events to pass?

For example, something like:

  "www.youtube.com": [
    "mouseleave" : {
      "body *"
    }
  ]

Would allow mouseleave events for elements within the body, so tooltips could work, but at the same time, block everything from the body up, so not allow the site to know when we're in another tab. Allowing multiple selectors will allow users to be very specific with their compromise between privacy and functionality.

mouseLeave

Please add mouseLeave event blinder too. some websites check if mouse is on the page or not

Mouse hovering stuck

There is an issue that caused mouse hovering to get stuck on any sites. If this extension is disabled, it won't happen

6q3n6q3n6q47w47

v0.2.4 Twitch "NaN"

Ever since updating to v0.2.4, Twitch now has issues with displaying Channel Points and View Count, often showing "NaN".
If you go to a Twitch stream with the extension active, at first everything will appear fine, but then when it tries to do a live update of the numbers, it seems to be a 75/25 (in favor of error) chance of showing "NaN" instead of the actual number.

I have not had this issue with v0.2.3, and I have confirmed this is linked to this extension, because it stops happening if I disable this extension. I could not find anything useful in the devtools error log.

Is there a way I can downgrade back to v0.2.3, or do you have any idea what changes in v0.2.4 would have caused this? I haven't changed any of the extension's settings since the update.

Thanks, and sorry to bother about this again.

Enable only on selected domains

Fantastic extension, very helpful for use on domains that abuse visibilitychange detection, however many sites make good valid use of this event, so it would be nice if by default it was allowed, then this extension only became active for troublesome websites.

Ability to enable/disable features.

First of all, thanks for making the addon!

I tried finding my own solution around the internet but nothing that I found worked together with greasemonkey and javascript code.

Your addon works perfectly but I want to disable 1 feature which is the "mouseleave" option.

Many sites has menu's that appear and disappear on hovering but with your addon, the menu appears and does not disappear.

I don't want to disable the addon. I just want this one thing disabled and not the rest.

I hope you can make a options page where we can enable/disable the features.

Method to Detect Always-Active

        var i = 0;
        var blur = false;

        window.onfocus = function (ev) {
            if (i > 0 && !blur) {
                console.log("onFocus() but never called onBlur()")
            } else {
                i++;
                console.log("onFocus: tab is active");
            }
        };

        window.onblur = function (ev) {
            blur = true;
            console.log("onBlur: tab is inactive");
        };

This Javascript can detect Always-Active. If onFocus is called, but onBlur was not, then wouldn't that imply something fishy is going on and that the user did indeed lose focus of the window?

loot.tv Doesn't Work

https://loot.tv/ seems to work around the fix somehow. The site itself was working fine without any helping extension for quite a while. Maybe two or three days ago they changed some code and since then I don't get ads there anymore. I was told that others get ads when they had the tab focused, so I thought this extension would help me.

I don't know if signing up is necessary, but creating a new account is free.

I'm using Vivaldi 6.2.3105.47, which is based on Chrome 116.

Kayosports.com.au can detect user inactivity

This is Fox Sports/ESPN/etc in Australia, so a pretty big site. I notice that when I do not have the tab in the foreground, videos will not play. As soon as I switch to the tab, the video starts.

Netflix can detect user inactivity

This disease is spreading. Sites are using the method described in #18.

This addon may hide changes to page visibility, but does not ever make the page 'visible' in the first place. So, now netflix considers itself invisible until I click on it and it suddenly 'comes to life'. This is correct on netflix's part, this addon breaks the browser's compliance to HTML spec.

Please, please, please, could we just have it fire that visibilitychange event so pages behave normally and can't spy on us? This addon is so great but it breaks so often because of this simple oversight.

Character.ai detects inactive tabs

I believe you can test this without signing up - but creating an account is free.
The animations during AI chat will pause when the window is not active, so they are using a mechanism this extension doesn't handle.

Microsoft Teams can detect if the tab is inactive

Current behaviour:

  • After a period of time, if Microsoft Teams is not focused, status changes to Away

Expected behaviour:

  • Microsoft Teams status should stay Online even if browser tab/window is in the background for long periods of time

Steps to reproduce the problem:

  1. Open Microsoft Teams in a tab or separate window
  2. Status will be Online
  3. Change tabs or put the window in the background
  4. Wait some time or do some work in other applications
  5. Return to the tab, status will be Away and switch back to Online as soon as you reopen it

Youtube can detect user activity

I noticed this while playing a video in the background. Normally, when the video ends, cards are shown to recommend other videos.

When the video plays while tab is in the background, the video ends, but the page waits until the tab is foreground again before showing those cards. It can clearly detect that the tab is not visible and when it became visible again.

Happy to help with this if there's anything I can do!

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.