1

I want to run my own JavaScript (written using jQuery) in Firefox in an external web page. How to do that?

I know it can be done by jQuerify and ScratchPad. But I have a loop running and new page would be loaded. So, I can't click the jQuerify button every time. So, is there any fixed way of having jQuery integrated so that I can write the JavaScript and simulate?

7
  • 1
    Yes, include jQuery and your external JS file in your page via <script> tags. Look at the source of virtually any website to figure out how this is done. Commented Jun 4, 2013 at 11:39
  • I want to run my code on an external webpage to manipulate it. I can't include anything to them. Commented Jun 4, 2013 at 11:40
  • what is an external webpage? do you want to execute your own javascript in a page you can't control? do you want to do some cross-site scripting 0_o ? Commented Jun 4, 2013 at 11:47
  • Yes. Because, it has lot of data. And I want to manipulate them. Commented Jun 4, 2013 at 11:49
  • 2
    addons.mozilla.org/en-US/firefox/addon/greasemonkey Commented Jun 4, 2013 at 13:13

1 Answer 1

2

As @robertc suggested, Greasemonkey can be the only solution.

https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.