Google Identity Services को FedCM API पर माइग्रेट किया जा रहा है. संभावित बदलावों की समीक्षा करने और आपकी वेबसाइट में उपयोगकर्ता के साइन-इन करने पर पड़ने वाले बुरे असर से बचने के लिए, माइग्रेशन गाइड में दिए गए निर्देशों का पालन करें.
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
डिफ़ॉल्ट रूप से, One Tap का प्रॉम्प्ट, डेस्कटॉप के वेब ब्राउज़र विंडो के सबसे ऊपर दाएं कोने में दिखता है. FedCM का इस्तेमाल करने पर, ब्राउज़र पूरी तरह से प्रॉम्प्ट की जगह को कंट्रोल करता है. इसलिए, कस्टम लेआउट इस्तेमाल नहीं किए जा सकते.
इसके अलावा, प्रॉम्प्ट की जगह बदलने के लिए, कंटेनर एलिमेंट में One Tap दिखाएं.
ऐसा करने के लिए, data-prompt_parent_id एट्रिब्यूट में कंटेनर एलिमेंट का डीओएम आईडी तय करें.
नीचे दिए गए उदाहरण में, g_id_onload एलिमेंट को कंटेनर एलिमेंट के तौर पर फिर से इस्तेमाल किया गया है और One Tap के प्रॉम्प्ट को एक तय जगह पर दिखाया गया है:
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2024-11-08 (UTC) को अपडेट किया गया."],[[["With the migration of One Tap to the FedCM API, browsers will control the prompt's size and position, eliminating support for custom positions."],["Developers are advised against customizing the position for new One Tap integrations and to review the migration guide for existing integrations to ensure compatibility."],["Customizing the One Tap login flow is possible, including positioning the prompt within a container element by utilizing the `data-prompt_parent_id` attribute, but avoid obscuring any prompt content to comply with Google's policies."],["Remember that the `data-prompt_parent_id` attribute is disregarded on mobile web browsers, limiting customization in those environments."],["Hiding or manipulating the One Tap prompt's content to misrepresent its origin from a Google iframe can lead to severe consequences, including project or account suspension."]]],[]]