How to access input fields in a page from a Chrome extension? -


i trying make chrome extension personal use makes password fields type="text", can see clear passwords. (i know can find in chrome store, it's want myself).

i having hard time accessing actual page content (the page i'm viewing in tab). if do

document.getelementbyid('text') 

this selects element background.html not page i'm viewing. how can access actual page?

also, there way can include external javascript file can use functions there?

you need use content script - javascript file injected actual page access dom , events.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -