Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Is there any way to add javascript script to facebook profile?
I'd like to see alert ('hello') when I'll open my profile?
I don't have enough rep to comment, but if you open the javascript developer console (in chrome you can hit ctl + shift + j) you can type javascript into the console and it will be executed on your Facebook page. So you can send yourself alert messages that way, or manipulate the page in any way you see fit.
I figured I'd let you know because manipulating existing pages with the developer console is an easy way to learn more about javascript and how to use it.
As the comments mention, it's impossible to make permanent changes this way, so you can experiment as much as you want without harming your Facebook profile, or anyone else's.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 9 months ago.
This post was edited and submitted for review 9 months ago and failed to reopen the post:
Original close reason(s) were not resolved
Improve this question
I have an "edit box" where the user can write text/emoji, add different color background, add image,etc...
When the user has finished I would like him to be able to send his "creation" by email, so I need to get the HTML CSS of the edit box.
I tried to do some research about that but I always end up on example which uses the inspector dev tool or some extension of the browser, however I need it to be done "automatically"
Thanks
You can use the window.getComputedStyle(element) method to retrieve the CSS values of a DOM element. The mdn web docs have a few examples: https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am writing an app that allows users to write and title stories within two textareas (one for each). After submission, I want the title to be displayed as a link to a page that will display the user's product in header(title)/paragraph(story content) notation. As background info, so far I've used only html and css, and I'm hoping to do this with either of the two or javascript. Any help is appreciated! Apologize if this is a confusing post, this is my first!
You will need php to achieve it.
Go learn some stuff about it :
Codecademy has a good interface to learn some language.
https://www.codecademy.com/fr/tracks/php
W3Schools is a standard for html/css/php/sql/jsjquery etc.
https://www.w3schools.com/php/default.asp
You can handle form with some other language, like python or javascript+nodejs. It depends of your needs. But if you are a beginner at coding, try php, you will find a lot of help on the web.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I've seen java scripts've been used to do facebook tasks fast(by adding them through browser console panel) ,such as adding friends, sending messages, posting on groups....
ie: $$javascript:var inputs = document.getElementsByClassName('_54k8 _56bs _56bt'); for(var i=0; i<inputs.length;i++) { inputs[i].click();}
(this's been used to cancel sent requests..)
i need to know what are the tools/ides have been used to write these scripts..
To write Javascript, any editor would work. You could use something like VSCode or even Notepad.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I've seen Chrome extensions that claim to do such thing, but the chat page they provide are all separate page from the original web page, which is really inconvenient. Is there existing plugin that can do this? I may want to build one myself but I'm guessing there may be some permission issue, since that would be showing content from 3rd party.
Is it possible to insert content like a chat box into all different web pages using Chrome extension?
Yes, there is.
This one does exactly what you want, works for HTTPS sites as well since the connection to server this extension use is under HTTPS. It inserts a chat box to the original page and you can change the size of the chatbox or minimize it.
https://chrome.google.com/webstore/detail/chat-anywhere/bldcellajihanglphncgjmceklbibjkk
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Hi i want to show content after user click the like button.
if he or she liked before it will show content no need like again.
Thanks
https://developers.facebook.com/docs/apps/changelog
It is no longer possible to get the liked status in a Page Tab
It is no longer allowed to incentivize a Page Like according to the platform policy
You could authorize a user with the user_likes permission, but you will not get it approved for like gating, so that´s not an option either
The main point is the second one. It´s not allowed to show content only when the user liked your Page. People should like something because they really do like it, not because they are forced to.