0

I am trying to create an Chrome extension which can help me:

  • Fill some data(text/link) to textbox of Facebook Group then click to Post( I mean: Post status Facebook using exention not using my hand)

  • It's not a <textarea> so i can't use: $('textarea') to set value of that textbox.

Example:

enter image description here

Please help me! Thank so much

Tasos K.
  • 7,979
  • 7
  • 39
  • 63

1 Answers1

0

manifest

 "js": [
                "jquery.js",
                "script.js"
            ]

script.js

$("#body").val("testing123");

document.getElementById('body').value = 'testing123';

See details on how to implement the code here

There is another way using Chrome Extensions: Insert text into textfield when clicking button in pop-up

Community
  • 1
  • 1
Mr.Rebot
  • 6,703
  • 2
  • 16
  • 91