MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / getUserID

Function getUserID

scripts/fb_blockSeenAndTyping.js:32–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30};
31
32function getUserID() {
33 try {
34 return document.cookie.match(/c_user=([0-9]+)/)[1];
35 } catch (e) {
36 return null;
37 }
38}
39
40function safeParse(e) {
41 if (!e) return null;

Callers 1

fbBlockFeaturesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected