File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ < script src ="https://consentdeliveryfd.azurefd.net/mscc/lib/v2/wcp-consent.js "> </ script >
12< script src ="https://az725175.vo.msecnd.net/scripts/jsll-4.js " type ="text/javascript "> </ script >
23< script type ="text/javascript ">
4+ function onConsentChanged ( categoryPreferences ) {
5+ console . log ( 'onConsentChanged' , categoryPreferences ) ;
6+ }
7+
8+ WcpConsent . init (
9+ 'en-US' ,
10+ 'cookie-banner' ,
11+ function ( err , _siteConsent ) {
12+ if ( err != undefined ) {
13+ return error ;
14+ } else {
15+ siteConsent = _siteConsent ; //siteConsent is used to get the current consent
16+ }
17+ } ,
18+ onConsentChanged
19+ ) ;
20+
321 var config = {
422 autoCapture : {
523 lineage : true
1129 awa . init ( config ) ;
1230</ script >
1331< link rel ="shortcut icon " type ="image/png " href ="/favicon.png " />
32+ < div id ="cookie-banner "> </ div >
33+ < footer class ="storybook-footer ">
34+ Microsoft Graph Toolkit Playground was founded by Microsoft as a community guided, open source project.
35+ < a href ="https://privacy.microsoft.com/en-us/privacystatement "> Privacy & cookies</ a >
36+ < a href ="https://www.microsoft.com/en-us/legal/intellectualproperty/copyright/default "> Term of use</ a >
37+ </ footer >
38+ < style >
39+ .storybook-footer {
40+ position : absolute;
41+ bottom : 0 ;
42+ font-size : 11px ;
43+ padding : 10px ;
44+ width : 100% ;
45+ text-align : center;
46+ z-index : 9999 ;
47+ background-color : # f2f2f2 ;
48+ }
49+
50+ .storybook-footer a {
51+ color : # 616161 ;
52+ }
53+
54+ .storybook-footer a : hover {
55+ color : # 323232 ;
56+ }
57+ </ style >
You can’t perform that action at this time.
0 commit comments