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 8898285
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T00:34:28+00:00 2026-06-15T00:34:28+00:00

I’m trying to debug a script written in javascript that runs on a conduit

  • 0

I’m trying to debug a script written in javascript that runs on a conduit toolbar. for now i’m using simply

window.alert("function x is working");

but this is very disturbing in case of many alerts as the script grows bigger. i would prefer to write log or debug messages into FireBug or Chrome’s console, with:

console.log("function x is working");

as this is much more reasonable, but this code has no effect when this is ran from a javascript file i include in an html component on a conduit toolbar.
i have really tried to research this and similar issues with conduit toolbar api, but i see they are not really common subjects here on stack.. does anyone know of a forum or a good resource of information for conduit api usage? their official page is a little confusing for me.

really appriciate any help!

  • 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-06-15T00:34:30+00:00Added an answer on June 15, 2026 at 12:34 am

    Couldn’t get much information on Conduit toolbar API here.
    This is a work-around that i thought of, hope this can help others.

    var writeToConsoleScriptStr = 'console.log("your message here");';
    JSInjection(writeToConsoleScriptStr);
    

    This is helpful if you need to use other matters related to your page as well, for example using Jquery to run code when tab is focused/blurred. By the way, Both the writing to the console and JQuery for tab-switching events ran on all browsers that i checked, which was a nice touch.
    Of course for running Jquery the actual page requires the page to include jquery which you can also achieve by injecting it the same way. (At a certain cost)

    i’m hoping this may help somebody.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a small JavaScript validation script that validates inputs based on Regex. I
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I am reading a book about Javascript and jQuery and using one of the
I am trying to render a haml file in a javascript response like so:
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I'm trying to create an if statement in PHP that prevents a single post
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I'm new to using the Perl treebuilder module for HTML parsing and can't figure

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.