View Single Post
Old 08-15-2017, 07:01 AM  
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,705
Quote:
Originally Posted by babeterminal View Post
this script shows at the end of the source code

<script> if ( !( ("cookie" in document && (document.cookie.length > 0 || (document.cookie = "test").indexOf.call(document.cookie, "test") > -1)) ) ) { $( ".no_cookies" ).show(); window.cookieMissing = true; } </script>
Translated :

if not a cookie in document and
(if not a cookie with length greater than zero OR cannot set test cookie) then
using jQuery select the html element with the CSS class named "no_cookies" and
show that html element in the document then
set a document variable name cookieMissing to true because
the surfer arrived here without having a cookie set in his browser.

The html element (with CSS class no_cookies) that will show will not actually show because it's display style is none.

<div class="no_cookies browser_warnings mask" style="display:none;">


Therefore I conclude that the flex form previously gave a warning to the
surfer to enable cookies and provided a link for the surfer to follow to learn how to
enable cookies.
The link provided is Enable cookies - Enabling cookies - Turn cookies on


PROOF :

https://youtu.be/GpD4kW4uo2c



See Sig for more of my work.

Thanks
blackmonsters is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote