Skip to content

Commit

Permalink
[Update] Get User ID
Browse files Browse the repository at this point in the history
  • Loading branch information
HoangTran0410 committed Sep 20, 2021
1 parent c5f9199 commit 09c8cc8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/bookmarks.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ javascript: (function () {
if (found(/(?<=set\=(pb|picfp|ecnf|pob)\.)(.\d+?)($|(?=\.))/.exec(a.href)))
return;
}
if (
found(
/(?<=\"user\"\:\{\"id\"\:\")(.\d+?)(?=\")/.exec(document.body.innerHTML)
)
)
return;
window.prompt(
"Không tìm thấy USER ID nào trong trang web!\nBạn có đang ở đúng trang profile chưa?\nTrang web Ví dụ: ",
"https://www.facebook.com/callchoulnhe"
Expand Down

0 comments on commit 09c8cc8

Please sign in to comment.