summaryrefslogtreecommitdiffstats
path: root/init.js
diff options
context:
space:
mode:
authoralyx <alyx@aleteoryx.me>2023-12-14 16:41:11 -0500
committeralyx <alyx@aleteoryx.me>2023-12-14 16:41:11 -0500
commit3c8205e0b9d44402b06c0033ad548e81fb8cf2d2 (patch)
treec5cd2e30d7982629f739ee2e393e80608f2cc276 /init.js
parent95c2e6bf6700429e7bae9debff98b00315dfd838 (diff)
downloadtumblr_follower_mgr-master.tar.gz
tumblr_follower_mgr-master.tar.bz2
tumblr_follower_mgr-master.zip
Basic onboarding flowHEADmaster
Diffstat (limited to 'init.js')
-rw-r--r--init.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.js b/init.js
new file mode 100644
index 0000000..fe3c30a
--- /dev/null
+++ b/init.js
@@ -0,0 +1,4 @@
+set.onclick = () => {
+ const msgid = Date.now();
+ chrome.runtime.sendMessage(null, {type: "set_creds", id: msgid, payload: { oauth_consumer_key: consumer.value, oauth_secret_key: secret.value } });
+}