I've been working on a Chrome extension and I have encountered a few challenges that I need help with.
One issue I'm facing is changing the size of the text box in the Facebook chat box at the right bottom corner of the page.
To accomplish this, I am using JavaScript (not jQuery). By inspecting the element in the Chrome browser, I found the class name "_552h" for its div element.
For testing purposes, I used alert(document.getElementsByClassName("_552h")); in the content scripts running on the Facebook page, which displayed [objectHTMLcollection] in the alert box. Now, how can I access the textbox within this div and change the height of the textbox using CSS? Can you please provide me with some code as I am new to this?
Furthermore, I would like to add a horizontal list of suggested words for this textbox. I attempted to use jQuery autocomplete, but it displays suggestions in a vertical dropdown. What kind of CSS adjustments are needed to make the autocomplete display horizontally?
Lastly, is there a way to obtain a list of English dictionary words to serve as the source for the autocomplete feature?