All Questions
29
questions
1
vote
0
answers
149
views
Chrome Extension Facebook messages
I am making chrome extension that open facebook profile send friend request and need to send message to that person. I am not sure how to implement facebook api or how to send facebook message to that ...
2
votes
0
answers
195
views
Intercept image upload (for Facebook) using Chrome extensions
I have Chrome extensions that intercepts to submission of new Facebook posts to check the content. For the text, this is pretty straightforward. If I press the "Post" button, for the resulting event e,...
2
votes
1
answer
264
views
Chrome 74 breaks work of a Chrome extension
I have a Chrome extension that downloads Facebook messages to the computer. After the latest update of Chrome (v.74) it stopped working.
I have created a test extension that will help you understand ...
0
votes
3
answers
223
views
How to manipulate like button on Facebook web page?
I'm currently building a chrome extension and I'm trying to get it to be able to stop a like on Facebook from going through even after the like button has been clicked. In my content.js, I currently ...
2
votes
0
answers
255
views
jquery select html elements when using React Framework
I'm the admin of a group on facebook and whenever someone enters that group I can send a welcome message to them. I'm trying to create a script to automate that for me and automatically welcome users ...
0
votes
0
answers
203
views
Facebook is not identifying $ neither jQuery
I have been trying to write some custom script and trying to inject it to Facebook but unable to get jQuery functions executed, I have tried different approaches;
1st Method:
Using $
but having ...
0
votes
1
answer
85
views
Internal Server Error 500
I got code like that
$(document).ready(function () {
$.ajax({
url: 'https://www.facebook.com/ajax/groups/members/remove.php?group_id=1383973975234677&uid=100001311621338',
...
1
vote
0
answers
76
views
Change the value of an input using jQuery
I am making a Google Chrome extension that interacts with facebook.
On a facebook page I need to change the value of an input field and then submit it. Which works, but when I press the input field ...
3
votes
1
answer
6k
views
Mutation Observer not firing
Hi I'm building a chrome extension. I have a javascript file in which I want to detect changes to a div on facebook.com so I attach it to a mutation observer. The thing is now if I navigate to another ...
-2
votes
1
answer
109
views
How to get data from Facebook using javascript?
For using in a Chrome extension I need to get data from a FB page, namely the messages.
In code behind it's seen that the messages are loaded through Bigpipe, a snippet of JSON data is returned ...
1
vote
1
answer
56
views
Determine ideal interval time for running an update script
I am writing a chrome extension for a website such as facebook and quora. The website's content is dynamically updated and I need to work on the content as and when it arrives. The script I have ...
7
votes
1
answer
2k
views
How to darken all elements apart from specific one [closed]
I'm building a google chrome extension , I'm doing some work on the right side (in my friend stories), in fact, I'm searching for a specific friend stories whose name appears in the input element ...
2
votes
2
answers
160
views
Javascript to analyze a div?
So I figured I'd get a little bit of Javascript practice and work on my first Google Chrome extension. I'm making an extension that, when the user clicks the "Like" button on Facebook, if the post ...
0
votes
0
answers
169
views
content script search/replace on page load on specific sites
I'm writing a chrome extension that needs to replace the content of facebook posts that contain certain keywords. It's working fine on page load, but when I follow any links within facebook the script ...
2
votes
1
answer
4k
views
How to set up MutationObserver to detect added DOM?
Problem: I want to change some of the default text of Facebook to my own.
I used jQuery's text(), but the problem is Facebook will add more DOM when user scrolls down, so I tried to use ...