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
Post a Comment