Hey
--To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msg/chromium-extensions/-/MDepIdGNYs8J.
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To post to this group, send email to chromium-...@chromium.org.
To unsubscribe from this group, send email to chromium-extens...@chromium.org.
For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.
Hello,
I'm working on a Chromium extension, all is fine except one line. I have checked all the line and my script is running, it's not the problem. I want to enter a value in the search input of http://www.lesnumeriques.com/. I have this code on background.js :
function enterImmediat(){
chrome.tabs.create({"url":"http://www.lesnumeriques.com/","selected":true});
document.getElementById("selection").value = "good";
document.getElementById("form_rech").submit();
}
}
chrome.browserAction.onClicked.addListener(enterImmediat);The value of selection does'nt change and I don't know why, if someone can help me it will be awesome :).
Thank you.