This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Block a website ( www.facebook.com ) | |
1. Open terminal | |
2. Enter following command - | |
sudo nano /etc/hosts | |
3. Enter MAC system password | |
4. Scroll down and make an entry for the website you wish to block - | |
## | |
# Host Database | |
# | |
# localhost is used to configure the loopback interface |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Open google chrome | |
2. Go to fb mobile link | |
https://m.facebook.com/friends/center/requests/outgoing/#friends_center_main | |
3. Open Inspector mode/Dev tool | |
4. Hover over "cancel" button to find the class | |
5. Copy the class and replace in the following code - | |
javascript: var inputs = document.getElementsByClassName('class'); | |
for (var i = 0; i < inputs.length; i++) { | |
inputs[i].click(); | |
} |