# Inconsistent triggers with Advanced conditions "active\_website\_url"

**URL:** <https://community.folivora.ai/t/inconsistent-triggers-with-advanced-conditions-active-website-url/38674>\
**Category:** Configuration Help & General Discussion\
**Created:** [August 9, 2024, 3:30pm UTC](https://community.folivora.ai/t/inconsistent-triggers-with-advanced-conditions-active-website-url/38674 "2024-08-09T15:30:06Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![aesterling](https://community.folivora.ai/letter_avatar_proxy/v4/letter/a/e68b1a/32.png) [@aesterling](https://community.folivora.ai/u/aesterling)\
**Post date:** [August 9, 2024, 3:30pm UTC](https://community.folivora.ai/t/inconsistent-triggers-with-advanced-conditions-active-website-url/38674/1 "2024-08-09T15:30:06Z")

</div>

I'm using Advanced Conditions to trigger specific actions on different websites in Chrome, but it is not reliable. **It seems that BTT only checks the active\_website\_url whenever Chrome switches to the foreground** , but not while it remains the foreground app. Is the the case, @Andreas_Hegenberg?

Screen recording demo: [https://youtu.be/ILIuzwF5fJE](https://youtu.be/ILIuzwF5fJE)

Here are my two separate triggers [using](https://community.folivora.ai/t/add-does-not-contain-to-advanced-trigger-conditions/31080/2?) Advance Conditions:

 ![Screen Shot 2024-08-09 at 09.37.59](https://community.folivora.ai/uploads/default/original/3X/1/8/18b13cec033bd2306ed6c0ac3bac12fb8c2d53d2.png)  
 ![Screen Shot 2024-08-09 at 09.37.06](https://community.folivora.ai/uploads/default/original/3X/7/e/7e68c286d4f7aa70b49956f9043e4e32c9f0feb6.png)

It sounds like the same issue @Maxime_Bonzi reported [here](https://community.folivora.ai/t/bug-with-conditional-groups/23436?). My triggers/actions work correctly if I switch to another app and then back to Chrome before triggering.

Any ideas? Thanks!

---

<div class="post-metadata">

**Author:** ![aesterling](https://community.folivora.ai/letter_avatar_proxy/v4/letter/a/e68b1a/32.png) [@aesterling](https://community.folivora.ai/u/aesterling)\
**Post date:** [August 12, 2024, 2:21pm UTC](https://community.folivora.ai/t/inconsistent-triggers-with-advanced-conditions-active-website-url/38674/2 "2024-08-12T14:21:34Z")

</div>

@Andreas_Hegenberg is there a way to force BTT to constantly check the active\_website\_url? (Updated screen recording: [https://youtu.be/ILIuzwF5fJE](https://youtu.be/ILIuzwF5fJE))

Currently BTT seems to only check it when Chrome switches to the foreground.

For example, to fix a different check interval issue you [told me](https://community.folivora.ai/t/screen-edge-mouse-gestures/18572/21) to run this terminal command: `defaults write com.hegenberg.BetterTouchTool BTTMouseCheckInterval 0.1`.

Is there a similar way to fix the check active\_website\_url behavior?

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [August 13, 2024, 7:39am UTC](https://community.folivora.ai/t/inconsistent-triggers-with-advanced-conditions-active-website-url/38674/3 "2024-08-13T07:39:25Z")

</div>

I think not yet, but I‘ll add one

---

<div class="post-metadata">

**Author:** ![aesterling](https://community.folivora.ai/letter_avatar_proxy/v4/letter/a/e68b1a/32.png) [@aesterling](https://community.folivora.ai/u/aesterling)\
**Post date:** [August 13, 2024, 1:26pm UTC](https://community.folivora.ai/t/inconsistent-triggers-with-advanced-conditions-active-website-url/38674/4 "2024-08-13T13:26:51Z")

</div>

Thanks, Andreas! 😀 I don't know if that's the problem or not. Why would having many Chrome tabs open cause BTT's active\_website\_url condition to fail?

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [August 13, 2024, 2:42pm UTC](https://community.folivora.ai/t/inconsistent-triggers-with-advanced-conditions-active-website-url/38674/5 "2024-08-13T14:42:52Z")

</div>

it should have the url of the last focused tab regardless of how many

---

<div class="post-metadata">

**Author:** ![aesterling](https://community.folivora.ai/letter_avatar_proxy/v4/letter/a/e68b1a/32.png) [@aesterling](https://community.folivora.ai/u/aesterling)\
**Post date:** [August 13, 2024, 2:46pm UTC](https://community.folivora.ai/t/inconsistent-triggers-with-advanced-conditions-active-website-url/38674/6 "2024-08-13T14:46:15Z")

</div>

Makes sense, thanks. So maybe the issue _is_ related to the check interval/frequency issue for the active\_website\_url behavior condition? I will test as soon as you add a setting for that. 😀 Thanks again.

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [August 13, 2024, 2:51pm UTC](https://community.folivora.ai/t/inconsistent-triggers-with-advanced-conditions-active-website-url/38674/7 "2024-08-13T14:51:23Z")

</div>

in general BTT relies on a notification from the browser as to when the url changes, but chrome has caused issues in the past here.  
I‘m adding a generic way to actively poll CAG properties, it should solve the issue.

(Personally I have migrated from Chrome to Safari, and it has been great - battery life has been so much better since)

---

<div class="post-metadata">

**Author:** ![aesterling](https://community.folivora.ai/letter_avatar_proxy/v4/letter/a/e68b1a/32.png) [@aesterling](https://community.folivora.ai/u/aesterling)\
**Post date:** [August 13, 2024, 2:58pm UTC](https://community.folivora.ai/t/inconsistent-triggers-with-advanced-conditions-active-website-url/38674/8 "2024-08-13T14:58:06Z")

</div>

Excellent, thank you, Andreas! I look forward to testing that with Chrome whenever you can release a BTT update.

As for switching from Chrome to Safari, I will consider it, especially now that Google is forcing the discontinuation of the Manifest V2 framework for extensions.

---

<div class="post-metadata">

**Author:** ![aesterling](https://community.folivora.ai/letter_avatar_proxy/v4/letter/a/e68b1a/32.png) [@aesterling](https://community.folivora.ai/u/aesterling)\
**Post date:** [August 16, 2024, 1:24pm UTC](https://community.folivora.ai/t/inconsistent-triggers-with-advanced-conditions-active-website-url/38674/9 "2024-08-16T13:24:06Z")

</div>

As you promised, this behaves perfectly in Safari and BTT reads the `active_website_url` correctly. 👍

However, I'm stuck using Chrome for now and the `active_website_url`  
BTT condition is still unreliable when I have many tabs open.

Do you know if there are any Chrome flags or OS settings I could change to make this more reliable until you're able to add "a generic way to actively poll CAG properties"? Thanks for all the help!

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [August 16, 2024, 2:14pm UTC](https://community.folivora.ai/t/inconsistent-triggers-with-advanced-conditions-active-website-url/38674/10 "2024-08-16T14:14:55Z")

</div>

I’ll be back next week, then I’ll check! I don’t know whether there are any flags that could improve this ;-(

---

<div class="post-metadata">

**Author:** ![aesterling](https://community.folivora.ai/letter_avatar_proxy/v4/letter/a/e68b1a/32.png) [@aesterling](https://community.folivora.ai/u/aesterling)\
**Post date:** [August 16, 2024, 2:15pm UTC](https://community.folivora.ai/t/inconsistent-triggers-with-advanced-conditions-active-website-url/38674/11 "2024-08-16T14:15:28Z")

</div>

Thanks, @Andreas_Hegenberg and enjoy your week away! 😀

---

<div class="post-metadata">

**Author:** ![aesterling](https://community.folivora.ai/letter_avatar_proxy/v4/letter/a/e68b1a/32.png) [@aesterling](https://community.folivora.ai/u/aesterling)\
**Post date:** [September 3, 2024, 3:46pm UTC](https://community.folivora.ai/t/inconsistent-triggers-with-advanced-conditions-active-website-url/38674/12 "2024-09-03T15:46:05Z")

</div>

> [@Andreas\_Hegenberg](#):
>
> I‘m adding a generic way to actively poll CAG properties, it should solve the issue.

@Andreas_Hegenberg any chance this is available in an alpha release? I currently have to alt+tab away from Chrome and then back for BBT to read the active URL reliably. Thanks. 🙏

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [September 6, 2024, 5:17pm UTC](https://community.folivora.ai/t/inconsistent-triggers-with-advanced-conditions-active-website-url/38674/13 "2024-09-06T17:17:59Z")

</div>

sorry not yet! I have tried to reproduce the issue in order to be able to test the solution, but in my case it seems to work fine with chrome. Is it maybe some extension that is interfering?
