mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-01 02:17:53 +01:00
Removed eslint rules, because site build was failing. Added sponsor to links
This commit is contained in:
1 parent
d13aa3f051
commit
a211bec12f
9 files changed
+33
-111
No files matched your search
@@ -10,12 +10,12 @@ else if (
|
||||
|
||||
api.runtime.onMessage.addListener((request, sender, sendResponse) => {
|
||||
if (request.message === "get_auth_token") {
|
||||
// chrome.identity.getAuthToken({ interactive: true }, function (token) {
|
||||
// console.log(token);
|
||||
// chrome.identity.getProfileUserInfo(function (userInfo) {
|
||||
// console.log(JSON.stringify(userInfo));
|
||||
// });
|
||||
// });
|
||||
chrome.identity.getAuthToken({ interactive: true }, function (token) {
|
||||
console.log(token);
|
||||
chrome.identity.getProfileUserInfo(function (userInfo) {
|
||||
console.log(JSON.stringify(userInfo));
|
||||
});
|
||||
});
|
||||
} else if (request.message === "log_off") {
|
||||
// chrome.identity.clearAllCachedAuthTokens(() => console.log("logged off"));
|
||||
} else if (request.message == "set_state") {
|
||||
|
||||
Reference in new issue
Block a user