Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4540828
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T15:08:25+00:00 2026-05-21T15:08:25+00:00

I recently found a bug in TomatoFlix through the KBX. When the user is

  • 0

I recently found a bug in TomatoFlix through the KBX. When the user is logged in on Netflix (different from the non-logged-in interface), the rating banner gets added twice:

Doubled rating banner

I added some emits to my rules to show when the rule is getting fired. The code now looks like this:

rule netflix_loggedin {
    select when pageview "movies.netflix.com/.*?Movie/(.*)/" setting (movieTitle)
    pre {
      title = movieTitle.replace(re/[-_]/g, " ");
      div = getRatings(title, "", "lycoflix");
    }
    emit <|
        console.log("TomatoFlix fired!");
    |>;
    before("p.synopsis", div);
    }

rule netflix_two {
    select when pageview "movies.netflix.com/.*?Movie/(.*)/" setting (movieTitle)
    emit <|
        console.log("TomatoFlix second rule fired!");
    |>;
}

The JavaScript console shows the following four lines:

TomatoFlix fired!
TomatoFlix second rule fired!
TomatoFlix fired!
TomatoFlix second rule fired!

This doesn’t happen with a bookmarklet or with the standalone browser extension. Only in the KBX.

The dispatch block has two domains in it: www.netflix.com and movies.netflix.com

Ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T15:08:26+00:00Added an answer on May 21, 2026 at 3:08 pm

    While I have experienced double rule firing when using a combination of browser extensions, site tags and/or proxy servers for deployment of Rulesets, I have not experienced double rule firing with just the KBX. To help isolate the issue have you disabled all other KBX applications and all other Kynetx based browser extensions?

    In the meantime a work around would be to place guard rule in application. This guard rule would check for the existence of a tag within the DOM, and it it does not exist then continue running. Otherwise stop. Here’s a sample:

    rule CodeMonkey_Hack {
      select when pageview ".*"
        pre {
          tagMonkey = "<div id='CodeMonkey' style='display:none;'>CodeMonkey</div>";
          CodeMonkey = 0;
        }
        {
          emit <|
            CodeMonkey = $KOBJ("#CodeMonkey").length;
            if (!CodeMonkey) {
              $KOBJ("body").append(tagMonkey);
              app = KOBJ.get_application("a169x274");
              app.raise_event("impactblog_init", {});
            }
          |>;
        }
        always {
          last
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I found an unusual bug in my code recently through random ad-hoc testing. So,
We're using DataContractSerializer to serialize our data to XML. Recently we found a bug
I recently found and fixed a bug in a site I was working on
We recently debugged a strange bug. A solution was found, but the solution is
I've recently upgraded an application from jQuery 1.2 to 1.3.2 - and we've found
Recently found something peculiar in a filter, I can't believe its intended behaviour. from
Hi recently I found this bug in my code. this link http://www.zendez.com/beta/files/retreatphotos/larges/idretreat70/Mayacamas Ranch, Calistoga,
recently found an article in http://hashtwo.com/blog/integrating-a-file-browser-into-ckeditor-cakephp to integrate a file browser into ckeditor (file
I recently found that dynamically creating object and methods in Ruby is quite a
I recently found javafx 2.1 very useful for my project of making a video

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.