0192.html 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Block Facebook Tracking Cookies with Pi-Hole</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Browser Based,Home Lab,Home Lab Ideas,Self-Hosted,Web Based,Web Based Tools,Ad,Ad Blocker,Ad Blocking,Block,DNS Ad Blocking,Free Software,Free Open-Source Software,FOSS,Linux,Network,Network Wide Ad Blocking,Networking,Open Source,Pi Hole,Pi-Hole,PiHole,Block Facebook With Pi-Hole,Block Facebook Tracking Cookies,Facebook DNS Blocking With Pi-Hole,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Block Facebook Tracking Cookies with Pi-Hole">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="05/16/2022 01:42:58 PM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Block Facebook Tracking Cookies with Pi-Hole</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <ol>
  26. <li>Open a web browser and navigate to https://facebook.com</li>
  27. <li>Facebook will load normally</li>
  28. <li>Open a new tab and navigate to the Pi-Hole admin interface</li>
  29. <li>Click Login in the left navigation menu</li>
  30. <li>Login with the administrative password</li>
  31. <li>Click Blacklist in the left navigation menu</li>
  32. <li>Click the Regex filter tab at the top of the main content area</li>
  33. <li>Complete the Regex Filter form as follows:
  34. <p>Regular Expression: (facebook|fb|fbcdn|fbsbx|tfbnw)\.(com|net)<br />
  35. Comment: Facebook</p>
  36. </li>
  37. <li>Click the Add to Blacklist button</li>
  38. <li>Open a new tab and navigate to https://facebook.com</li>
  39. <li>Pi-hole should now be blocking Facebook.com and many of the known domain names used by Facebook tracking cookies</li>
  40. <li>Back in the Pi-hole admin interface, click Query Log in the left navigation menu</li>
  41. <li>Facebook.com will be showing as Blocked (regex blacklist)</li>
  42. </ol>
  43. </div>
  44. </div>
  45. </body>
  46. </html>