Guest User

Set facebook sk param

a guest
Sep 13th, 2026
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. // ==UserScript==
  2. // @name Set facebook params
  3. // @namespace Violentmonkey Scripts
  4. // @icon https://www.google.com/s2/favicons?sz=64&domain=facebook.com
  5. // @version 1.0.0
  6. //
  7. // @match https://www.facebook.com/
  8. // @grant none
  9. //
  10. // @author -
  11. // @description
  12. // ==/UserScript==
  13. (function() {
  14. const key = 'sk';
  15. const value = 'h_chr';
  16. const urlParams = new URLSearchParams(window.location.search);
  17. if (!urlParams.has(key, value)) {
  18. urlParams.set(key, value);
  19. window.location.search = urlParams;
  20. }
  21. })();
Advertisement
Add Comment
Please, Sign In to add comment