E
E
elah022016-02-29 19:26:03
JavaScript
elah02, 2016-02-29 19:26:03

Can I use a browser extension to write in the console of another site?

When you click on the extension in the upper right corner, the script fires and writes in the developer console on another site! Let's say the Google site is open , when you click on the extension icon, it writes alert (123) in the Google site console and a window pops up on the Google site! Is it possible and how? How to make the extension write in the console of the Google site or in general on other sites!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2016-02-29
@elah02

You have already been given a link to https://developer.chrome.com/extensions/content_scripts
Learn, try.
What you described is pretty easy to do, but no one will write the code for you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question