Libraryless. Click here for Pure Java version (2515L/16K).
sS googleSignIn_header() { ret googleSignIn_header(""); } sS googleSignIn_header(S onLoad) { ret googleSignIn_header(onLoad, botCompanyGoogleSignInID()); } sS googleSignIn_header(S onLoad, S clientID) { if (empty(clientID)) ret ""; ret [[<script src="https://apis.google.com/js/platform.js$PARAM" async defer></script> <meta name="google-signin-client_id" content="$CLIENTID">]] .replace("$PARAM", nempty(onLoad) ? "?onload=" + urlencode(onLoad) : "") .replace("$CLIENTID", clientID); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1013823 |
Snippet name: | googleSignIn_header |
Eternal ID of this version: | #1013823/5 |
Text MD5: | b6653d803101b2ca79905c90c4b2498d |
Transpilation MD5: | 80c93d3b8a895efdfe095736e3a0a5d8 |
Author: | stefan |
Category: | javax / web |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-08-05 23:58:06 |
Source code size: | 522 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 364 / 448 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1013824 - googleSignIn_signInButton |