consent popup on instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2022 06:39 AM
I asked this question earlier but asked it wrong, wanted to update my question. please assist as I am yet to do any kind of content. This will be my first
I need to add a simple content pop-up to our production instance for when the user enters the URL, e.g. "www.servicenow.com" and hits enter, upon loading the page, they will receive a pop-up requesting them to accept the content. This should only happen once after the login to the instance and should not occur again throughout their section or when they open up another tab
The content should read something like the example below
" You are accessing a private property of company ABC that is provided for ABC- Authorized users only. By using this (which includes any device attached to this), you are consenting to the following conditions"
Thank you
How can I configure this? Detailed Steps will be appreciated as I am still transitioning into development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2022 11:10 AM
Please read all the comments on the link I sent. I hope this resolves your query.
***Mark Correct or Helpful if it helps.***
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2022 01:28 PM
@Yousaf
i have attempted your direction, I cannot see to get past the ui script because I keep getting an error on line 6, can you take a look to see what I may be doing wrong. I have been staring at it since morning and I feel like I am losing it
addLoadEvent(function() {
var session = gs.getSession();
if (session.getClientData('popup_
return;
}
if(window.name !== 'gsft_main') || (window.parent.document.URL.
console.log("prevent popup in this window or on this page");
return;
}
session.putClientData('popup_
//Ensure that we call the dialog for the correct frame
if (window.frameElement) {
if (window.frameElement.id == 'gsft_main') {
showTerms();
}
}
else if (!window.frameElement) {
if(!('gsft_main')) {
showTerms();
}
}
));

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2022 02:53 PM
Hi June
Can you please copy paste the one I sent in the first answer it will work
if it doesn't just format your code by selecting all (ctrl + a) and pressing shift+tab.
***Mark Correct or Helpful if it helps.***
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2022 03:02 PM
I copied your code and after saving, I logged out the instance and logged back in . There was no popup

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2022 03:16 PM
This was just one step. Whole process is here I really hope it works for you. make changes if you want.
Display terms and conditions on Login
***Mark Correct or Helpful if it helps.***