AdvancedProfanityFilter icon indicating copy to clipboard operation
AdvancedProfanityFilter copied to clipboard

Only mute audio

Open MrDizzyCam opened this issue 1 year ago • 8 comments
trafficstars

Hello,

When I try to use the extension on flixtor.li it gets disabled with a message "Popup disabled by only mute audio". This happens whenever I try to activate the "only mute audio" option in profanity filter.

The flixtor.li uses a VPN service, not sure if this has something to do with it.

Screenshot 2024-08-17 224541

Anyway thank you for the brilliant extension, I use and enjoy it allot.

Warm regards Stephan

MrDizzyCam avatar Aug 17 '24 20:08 MrDizzyCam

Hi @MrDizzyCam, thanks for the kind words! I don't believe that is a site I'm familiar with. Did it work before, or have you added a custom config for the site to support audio muting?

That specific message "Popup disabled by only mute audio" means that you have enabled the "Only mute audio" mode (Options page > Audio tab), which tells the extension to only run on sites that support audio muting. So, if you haven't added custom config for the site you mentioned, it will be turned off because it isn't recognized as a supported audio site. If you go to a supported site, such as YouTube, it should not show that message.

richardfrost avatar Aug 19 '24 00:08 richardfrost

Hi Richard,

Thank you for your reply. This is the first time I'm using this specific site. It works perfectly on supposed sites. I did not do a custom add as it looked a bit too technical for me. The filter worked on the subtitles when the only audio mute option is not selected, but when selected nothing worked. It seems like the site will have to be added, I will give it a go.

Best regards Stephan

On Mon, Aug 19, 2024, 02:17 Richard Frost @.***> wrote:

Hi @MrDizzyCam https://github.com/MrDizzyCam, thanks for the kind words! I don't believe that is a site I'm familiar with. Did it work before, or have you added a custom config for the site to support audio muting?

That specific message "Popup disabled by only mute audio" means that you have enabled the "Only mute audio" mode (Options page > Audio tab), which tells the extension to only run on sites that support audio muting. So, if you haven't added custom config for the site you mentioned, it will be turned off because it isn't recognized as a supported audio site. If you go to a supported site, such as YouTube, it should not show that message.

— Reply to this email directly, view it on GitHub https://github.com/FrostCo/AdvancedProfanityFilter/issues/570#issuecomment-2295451656, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALW3CEVROWJONZCVKFIJV43ZSE2QNAVCNFSM6AAAAABMVWWVWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJVGQ2TCNRVGY . You are receiving this because you were mentioned.Message ID: @.***>

MrDizzyCam avatar Aug 19 '24 10:08 MrDizzyCam

@MrDizzyCam Yeah, unfortunately it can be pretty technical to setup a custom site. Yeah, the "only mute audio" setting is used to turn off the filter on any site that doesn't have audio muting configured, so it sounds like it is working as expected. If you need help with adding support for that site I'm happy to try and help answer any questions you come across.

richardfrost avatar Aug 19 '24 14:08 richardfrost

Hi Richard,

Thanks so much for getting back to me! I tried adding the site, but I got stuck at the breakpoint step (see the attached image). Could you help me out with adding support for this site?

Warm regards Stephan

On Mon, 19 Aug 2024 at 16:56, Richard Frost @.***> wrote:

@MrDizzyCam https://github.com/MrDizzyCam Yeah, unfortunately it can be pretty technical to setup a custom site. Yeah, the "only mute audio" setting is used to turn off the filter on any site that doesn't have audio muting configured, so it sounds like it is working as expected. If you need help with adding support for that site I'm happy to try and help answer any questions you come across.

— Reply to this email directly, view it on GitHub https://github.com/FrostCo/AdvancedProfanityFilter/issues/570#issuecomment-2296782789, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALW3CEUMHRNE2JNDY4ZFG3TZSIBSTAVCNFSM6AAAAABMVWWVWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJWG44DENZYHE . You are receiving this because you were mentioned.Message ID: @.***>

MrDizzyCam avatar Aug 20 '24 20:08 MrDizzyCam

@MrDizzyCam Sorry, but I'm not seeing the image. I am happy to help though, if I can!

richardfrost avatar Aug 21 '24 02:08 richardfrost

Apologies I replied directly from Gmail, looks like the attachments doesn't go through then. Should be attached now. Flixtor

MrDizzyCam avatar Aug 21 '24 06:08 MrDizzyCam

Thanks @MrDizzyCam. Without also seeing the page structure (Elements tab), I don't have enough information to make a complete guess, but as a starting point I'd probably guess it is something like this:

{
  "flixtor.li": [{
      "className": "jw-text-track-container",
      "mode": "element",
      "subtitleSelector": "div.jw-text-track-cue",
      "tagName": "DIV"
  }]
}

You may need to adjust the domain name (flixtor.li), especially if it gets loaded in an IFRAME on the page (I don't have access to the site, so I can't say for sure it works).

richardfrost avatar Aug 21 '24 17:08 richardfrost

Hi @MrDizzyCam, have you had a chance to try out what I shared?

richardfrost avatar Sep 05 '24 17:09 richardfrost

@MrDizzyCam Just wanted to follow up and see if you had any other feedback on this. Thanks!

richardfrost avatar Oct 30 '24 18:10 richardfrost