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

  • Home
  • SEARCH
  • 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 3406426
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T05:37:35+00:00 2026-05-18T05:37:35+00:00

I am developing a web browser in java. For parsing and rendering I am

  • 0

I am developing a web browser in java. For parsing and rendering I am using cobra 0.98.4 .
cobra is not cookie enabled . So to save cookie I create a cookie management class. I can extract cookie from a web page . But I don’t know how to send it. I know that to send cookie I have to set property of URL-Connection and create an URL-connection. Because different website use java-script button for log-in.My main problem is that I can not listen a java-script event . How can I listen a java-script event in java ? I need to know the button event to create an connection to server to send the cookie that was extracted from the last page.

  • 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-18T05:37:36+00:00Added an answer on May 18, 2026 at 5:37 am

    You say you are developing a new browser? what do you use for javascript compiler? you know, like IE has jscript mozilla has .. something else, can’t remember right now. Anyhow in order to create an event listener you will need some kind of hook method something like:

    if (myButton.onClick && typeOf(myButton.onClick) == “function”){ // on click event is attached

      if (!myButton.onClick(event)){

       break;

     }

    }

    I mean if you truly developing a new browser you should have a place where you already defined the ‘click’ event in order to do some kind of animation or even postbacks or so and there would be the place to define a “hook” method.

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

Sidebar

Related Questions

I'm developing a game that I will distribute using Java Web Start / JNLP.
I am developing a web browser in java . To parse the HTML page
I am developing a c# winform app which controls a website using web browser.
I'm developing a simple web services using Java EE Servlets. My clients are a
I am developing a web app for IE browser using jQuery. We know that
I'm developing web site that loads pages dynamically using the .load function. For example:
I'm developing web application supported by Spring Integration. I'm using 1.0.4.RELEASE. I use CGLib
I'm developing web app using Spring Integration to route my messages, but I have
I'm developing Web Service that has access to database via JDBC. I'm using DAO
I'm developing web app that user can save his/her work to server. The data

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.