<div dir="ltr">I get what you're going for but the original idea was to make it so that Dialog was not by-passable. Right now the disclaimer shows up everytime a user reloads the page (assuming you're using the built-in disclaimer extension).  You could add a line of code that checks either cookies or localStorage to see if the dialog has been shown before and if so, do not show the dialog.<div><br></div><div>- <a href="https://developer.mozilla.org/en-US/docs/Web/API/Storage/LocalStorage">https://developer.mozilla.org/en-US/docs/Web/API/Storage/LocalStorage</a></div><div><br></div><div>so...</div><div><br></div><div>var seen_it = localStorage.getItem('seen_it');</div><div>if(seen_it != 'yup') {</div><div> alert(...);</div><div> localStorage.setItem('seen_it', 'yup');</div><div>}</div><div><br></div><div>That would at least mean all first time users and outside users are forced to agree to the dialog.  And when you update the disclaimer or just want to make sure people have looked at the disclaimer recently, you change "yup" to "definitely" or some other value as it would invalidate the test even for those who have "seen_it" set.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 23, 2017 at 8:39 AM, Mark Volz <span dir="ltr"><<a href="mailto:MarkVolz@co.lyon.mn.us" target="_blank">MarkVolz@co.lyon.mn.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="m_-823457357960431887WordSection1">
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">We currently are using disclaimer.js.  Recently one of our cities asked if there is a way to hide the disclaimer from displaying to certain users.  Is there a way to hide the disclaimer from some users such as:   
<a href="http://mygeomoosesite.com/geomoose.html?showdisclaimer=false" target="_blank">http://mygeomoosesite.com/<wbr>geomoose.html?showdisclaimer=<wbr>false</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Some thoughts I had:<u></u><u></u></p>
<p class="m_-823457357960431887MsoListParagraph"><u></u><span style="font-family:Symbol"><span>·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><u></u>I wonder if I can do this through javascript (and if so what would be the best approach)<u></u><u></u></p>
<p class="m_-823457357960431887MsoListParagraph"><u></u><span style="font-family:Symbol"><span>·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><u></u>If not I could possibly just copy the html file and hack off the reference to disclaimer.js<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal">Please let me know if you have any suggestions on how I can bypass disclaimer.js for certain users.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thank You!<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="color:#1f497d">Sincerely,<u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="color:#1f497d">Mark Volz, GISP</span></b><b><span style="font-size:12.0pt;color:#1f497d"><u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="color:#1f497d">Lyon County GIS Coordinator<u></u><u></u></span></b></p>
<p class="MsoNormal"><a href="https://www.google.com/maps/?daddr=504%20Fairgrounds%20Rd,%20Marshall,%20MN%2056258?z=6" target="_blank"><span style="color:#0563c1">504 Fairgrounds Rd</span></a><u><span style="color:#0563c1"><u></u><u></u></span></u></p>
<p class="MsoNormal"><a href="https://www.google.com/maps/?daddr=504%20Fairgrounds%20Rd,%20Marshall,%20MN%2056258?z=6" target="_blank"><span style="color:#0563c1">Marshall, MN 56258</span></a><span style="color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">Ph:  <a href="tel:(507)%20532-8218" value="+15075328218" target="_blank">(507) 532-8218</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">Fax: <a href="tel:(507)%20532-8217" value="+15075328217" target="_blank">(507) 532-8217</a><u></u><u></u></span></p>
<p class="MsoNormal"><a href="http://lyonco.org/" target="_blank"><span style="color:#0563c1">http://lyonco.org/</span></a><span style="color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><a href="http://geomoose.lyonco.org/" target="_blank"><span style="color:#0563c1">http://geomoose.lyonco.org/</span></a><span style="color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

<br>______________________________<wbr>_________________<br>
Geomoose-users mailing list<br>
<a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geomoose-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/geomoose-<wbr>users</a><br></blockquote></div><br></div>