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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T04:08:44+00:00 2026-06-12T04:08:44+00:00

I have next question: can I in any way attach my script file to

  • 0

I have next question: can I in any way attach my script file to a web site opened in my web browser? This script should be executed only in my machine and should emulate events like onclick ,onmouseover, etc. I found that I can emulate that events in this way:

var element = document.getElementById('element_id');
var o = document.createEvent('MouseEvents');
o.initMouseEvent( 'click', true, true, window, 1, 12, 345, 7, 220, false, false, true, false, 0, null );
element.dispatchEvent(o);

But I don’t understand how I can implement this code in concrete my situation? Where should I locate this code? How do I attach it the site? How can I generate browser’s events for this site? And can I do it?

  • 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-12T04:08:45+00:00Added an answer on June 12, 2026 at 4:08 am

    You can bookmark the script in your browser and then click the bookmark to run it on the page you are currently on.

    Load external JS from bookmarklet?

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

Sidebar

Related Questions

I can't find any tutorial for jQuery + web.py. So I've got basic question
i have question about YAJLiOS parser... I have next json data : {{ body
Okay, next PHPExcel question. I have an HTML form that users fill out and
I have next command in my batch script dir project\*.java /s /B > temp_file
I have next interface public interface IMyInterface { string this[string key] { get; set;
this is correlated to a question I asked earlier (question) I have a list
The code for this question is too long to be of any use. But
i have some simple question. 1-how can i change php pages in a specify
First of all, I am sorry that this is not a 'question that can
I'm sure this would be a simple question to answer but I can't for

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.