www.isc2.org
Open in
urlscan Pro
107.162.133.105
Public Scan
URL:
https://www.isc2.org/1mcc
Submission: On April 03 via manual from IN — Scanned from DE
Submission: On April 03 via manual from IN — Scanned from DE
Form analysis
1 forms found in the DOMName: siteSearchForm — GET /Search-Results
<form class="searchForm__form" action="/Search-Results" method="GET" name="siteSearchForm" id="siteSearchForm" role="search">
<div class="searchForm__container">
<input class="searchForm__input searchForm__input--header" placeholder="Search (ISC)²..." id="siteSearch" name="q" required="" autocomplete="off" type="text" maxlength="2048" aria-label="Search">
<button class="searchForm__icon" type="submit" aria-label="Submit search" id="submitsearch" name="submitsearch">
<span class="searchForm__searchIcon"></span>
</button>
<a href="#" class="searchForm__icon searchForm__icon--close js-close-search" data-toggle="collapse" aria-label="Close search bar" aria-expanded="true">
<span class="searchForm__closeIcon"></span>
</a>
</div>
</form>
Text Content
Top of Page -------------------------------------------------------------------------------- * Register for Exam * Sign In * Search Sign In Search Toggle navigation menu (ISC)² * My Profile * Contact Preferences * Change Email * Change Password * My Exams * Sign Out * Get Started * START YOUR CYBERSECURITY CAREER JOIN (ISC)² TODAY * Succeed in Cybersecurity Start a Cybersecurity Career * Free Exam and Training One Million Certified in Cybersecurity (ISC)² CANDIDATE * Overview Why Become a Candidate * Become a Candidate Apply Today * Candidate Benefits Sign-In Required INTERESTED IN? * Cloud Security * Cybersecurity Leadership * Entry-Level Cybersecurity * Governance, Risk and Compliance * Get Certified * VALIDATE YOUR EXPERTISE ABOUT CERTIFICATIONS * Find your Certification Reach Your Career Goals * Register for an Exam Take an Exam Near You * Exam Process What You Need To Know * Certification Application Complete your Journey to Membership * Benefits of Membership Join Cybersecurity's Brightest Professionals (ISC)² CERTIFICATIONS * Certified in Cybersecurity Start your career with (ISC)² * SSCP Security Administration * CISSP Leadership & Operations * CISSP Concentrations Architecture, Engineering, and Management Concentrations * * CCSP Cloud Security * CGRC Governance, Risk and Compliance * CSSLP Software Security * HCISPP Healthcare * Study for Exam * WORLD-CLASS CYBERSECURITY TRAINING SCHEDULE TRAINING * Find Training * Talk to a Rep * Training Partners EXAM PREPARATION * For Me * For My Team * U.S. Government TRAINING METHODS * Classroom-Based * Online Instructor-Led * Online Self-Paced * Self-Study Tools * Members * MEMBERS ONLY PROFILE & INFO * Member Dashboard * Manage Membership * Code of Ethics * Member Verification Verify a Certification Holder * Exam Results Verification Partner Organizations BENEFITS * Member Benefits * Volunteer and Grow * Exclusive Resources and Discounts * Digital Badges Share your credential online CPE & AMF * CPE Overview * CPE Opportunities * CPE Portal * AMFs Overview * Pay AMF * Continuing Education * CONTINUING EDUCATION PROFESSIONAL DEVELOPMENT * Certificate Program Grow your skills * Skill-Builders * Immersive Courses In-Depth Training * Express Learning Short-Format Courses * Lab Courses Practice Specific Technical Skills EVENTS * (ISC)² Events * Security Congress * Partner Events * Webinars RESOURCES * News and Insights * Workforce Research * Resource Center * Blog * InfoSec Professional Magazine and Newsletters * Communities * NETWORK WITH PROFESSIONALS CHAPTERS * (ISC)² Chapters Connect Locally with Your Peers * Join a Chapter Find a Chapter Near You * Start a Chapter Form a Chapter in Your Local Area * Chapter Officer Portal (ISC)² Chapter Officers Only VOLUNTEER CENTER * Volunteering with (ISC)² * How to Volunteer * Volunteer Opportunities * Volunteer Interest Form ONLINE COMMUNITY * Latest Topics Connect with Cybersecurity Pros * Industry News Latest News and Trends in the Industry * Certification Groups Join Exclusive Groups to Connect with Fellow Certification Holders * Study Groups Join Open Groups for Exam Preparation * About * ABOUT (ISC)² OUR ASSOCIATON * About Us * Association Governance * Board of Directors * Member Counts Sign-In Required * Leadership NEWS & PROGRAMS * Press Releases * Awards Programs * Cybersecurity Scholarships * International Academic Program * (ISC)² Careers ADVOCACY * Promoting the Profession * Diversity, Equity and Inclusion * Center for Cyber Safety and Education * Recognition * Research * Register for Exam * Sign In * My Courses (ISC)² PLEDGES ONE MILLION FREE (ISC)² CERTIFIED IN CYBERSECURITY™ COURSES AND EXAMS See yourself in cybersecurity. You don’t need experience — just the passion and drive to enter a demanding and rewarding field, one that opens limitless opportunities worldwide. As part of our commitment to help close the cybersecurity workforce gap and diversify those working in the field, (ISC)² is offering FREE Certified in Cybersecurity (CC) Online Self-Paced Training and exams to one million people. Advancing DEI in Cybersecurity To encourage diversity, equity and inclusion in the workforce, (ISC)² will work closely with partner organizations as part of this program to reach populations underrepresented in cybersecurity. We’ve pledged half of the commitment – 500,000 course enrollments and exams – to this effort. Organizations serving these groups and willing to partner with us in this DEI effort can contact us at inclusion@isc2.org. Start Your Journey To participate in the One Million Certified in Cybersecurity program, please follow these simple steps: 1. Create an account. If you already have an (ISC)² account, sign in. 2. Complete your (ISC)² Candidate application form and select Certified in Cybersecurity as your certification of interest. 3. Once the application is complete, you’ll become an (ISC)² Candidate. It’s free to join and you’ll gain access to Official (ISC)² Certified in Cybersecurity Online Self-Paced Training and a code to register for the free certification exam. You will find your access on the Candidate Benefits page. Annual dues of U.S. $50 will be due at the end of your first year of (ISC)² Candidate status. 4. Upon passing the exam, completion of the application form and payment of your $50 AMF, you’ll become a certified member of (ISC)² – the world’s largest association of certified cybersecurity professionals – with access to a broad range of professional development resources to help you throughout your career. Get Started In order to meet every learner’s needs, we’re also offering two Certified in Cybersecurity training bundles with special extras. Explore all Certified in Cybersecurity training options. * FAQ's FAQ's Q: What is (ISC)² Certified in Cybersecurity™? A: (ISC)² Certified in Cybersecurity is a foundational cybersecurity certification designed to help recipients build a pathway to a rewarding career in cybersecurity. This entry-level certification will prove to employers you have the foundational knowledge, skills and abilities necessary for an entry- or junior-level cybersecurity role. It proves your willingness and ability to learn and grow on the job. Learn more here. Q: Who should consider participating in this opportunity? A: The Certified in Cybersecurity entry-level certification is ideal for: * IT professionals * Career changers * College students * Recent graduates Q: How much work experience is required to earn this certification? A: Unlike other (ISC)² certifications, there is no work experience requirement to earn the entry-level Certified in Cybersecurity certification. Q: Why will this certification be different from other foundational certifications? A: We believe a need still exists in our industry for a certification that is attainable for newcomers and recognizes the growing trend of people entering the cybersecurity workforce without direct IT experience. Employers need confidence that when hiring new entrants into the field they have a solid grasp of the right technical concepts, and a demonstrated aptitude to learn on the job. Moreover, as an (ISC)² certification, the recipient will be an (ISC)² member backed by the world’s largest network of certified cybersecurity professionals helping them continue their professional development and earn new achievements and qualifications throughout their career. Q: What can I expect from the online self-paced course? A: The online self-paced course is a recorded review session that introduces learners to the content covered in the (ISC)² Certified in Cybersecurity certification exam outline. The review sessions are led by an authorized (ISC)² instructor and cover the five domains of the entry-level Certified in Cybersecurity certification. The sessions are designed specifically to help learners prepare to take the Certified in Cybersecurity exam. Learners have access to the course for 180 days. The course is available in English, Chinese, German and Spanish with Japanese and Korean coming soon. Q: Can I take the exam without starting or completing the education course? A: Yes, you can take the exam at any time you feel ready. Q: How do I register for the free exam? A: After you have become an (ISC)² Candidate, you will visit https://home.pearsonvue.com/isc2 to sign-in and schedule your exam. Be sure to use the same email address on both accounts. * Select the certification: CC: Certified in Cybersecurity. * Select your testing location and schedule your exam. * Enter promo code you’ve obtained from the Candidate Benefits page Q: I already have an (ISC)² certification (CISSP or another). Can I participate in this free program? A: No. This One Million Certified in Cybersecurity pledge is intended to bring new individuals into the field of cybersecurity and provide them with their first certification. Therefore, the program is not available for anyone who already holds an (ISC)² certification. If you already hold an (ISC)² certification and would like to take the CC exam, or course, you may do so by purchasing a CC bundle. Q: What do I need to know about exam day? A: This exam follows all standard (ISC)² exam policies and practices, including rescheduling and special accommodations. Learn more here. It is recommended that all candidates review these policies and procedures prior to sitting for the exam. Q: What topics are covered in the course and on the exam? A: There are five domains to this certification, listed below. For more details on the exam, review the (ISC)² Certified in Cybersecurity exam outline. * Security Principles * Business Continuity (BC), Disaster Recovery (DR) & Incident Response Concepts * Access Controls Concepts * Network Security * Security Operations Q: How long is the exam? A: The exam contains 100 multiple choice test items in a standard, linear exam format. There is a two (2) hour maximum administration time that is inclusive of all optional breaks and information screens. Q: Can I skip a test item on the exam and answer it later? A: No. All items must be answered in the order they are presented. You cannot skip an exam item and return to it later. Q: How will I know if I pass the exam? A: You will receive a pass or fail result on-site at the test center upon completion of the exam. If you pass, you will receive a confirmation email with your next steps to complete the certification process. Q: If I do not pass the exam the first time, can I take it again for free? A: No. You are only permitted one free attempt at the CC exam through the One Million Certified in Cybersecurity pledge. If you would like to attempt the exam again, we recommend purchasing a training bundle and exam together. You can see the available options at https://www.isc2.org/cc-bundles Q: Can I take the exam online? A: The entry-level Certified in Cybersecurity certification exam will only be available in-person at (ISC)²-authorized Pearson VUE test centers Q: Is the exam available worldwide? A: You can find the entry-level Certified in Cybersecurity certification exam at (ISC)²-authorized Pearson VUE test centers. Q: Is the exam available in multiple languages? A: The entry-level Certified in Cybersecurity certification exam is currently available in English, Simplified Chinese, German, Japanese, Korean and Spanish. Q: Can I transfer my free course and/or exam registration to someone else? A: No, the course training and corresponding exam registration are issued to you. You may, however, encourage your peers to take advantage of the One Million Certified in Cybersecurity initiative by becoming (ISC)² Candidates. Q: What are the requirements to maintain the Certified in Cybersecurity certification after passing the exam? A: Certified in Cybersecurity credential holders will need to earn 45 CPE credits during their three-year certification cycle to maintain the certification. We recommend earning 15 credits per year. You will also need to pay an Annual Maintenance Fee to maintain your certification. Q: What is the fee and when do I need to start paying for it? A: The Annual Maintenance Fee (AMF) for Certified in Cybersecurity is U.S. $50. This is due upon certification and annually upon your certification anniversary. Q: Who can I contact if I still have questions? A: If you have additional questions about the exam process or registration, please contact ExamAdministration@isc2.org. If your questions are regarding (ISC)² membership, please reach out to MemberSupport@isc2.org. Q: As an employer, what does it mean if a job candidate has this certification? A: Those who pass this exam have proven their knowledge, skills and abilities in the fundamentals of cybersecurity. They have a proficient understanding of policies and processes and have demonstrated their commitment to further cybersecurity education and development. Q: Is there an age restriction to take an (ISC)² examination? A: You must be 16 years old to sit for an (ISC)² examination. Q: Why is (ISC)² developing an entry-level certification? A: Research from (ISC)² and others continues to conclude that there is a global shortage of qualified cybersecurity professionals. While there are many contributing factors, we believe one solution is to create a certification that enables candidates – including students, young professionals and career-changers – to demonstrate to employers their familiarity with foundational cybersecurity concepts as determined by cybersecurity professionals and practitioners already in the field. Get Connected to Your Local (ISC)² Community -------------------------------------------------------------------------------- Find Your Chapter Quicklinks * Ethics * Blog * Frequently Asked Questions * Policies and Procedures * CPE Opportunities * Professional Development Institute Contact * Customer Service * Exam Administration * Education * Training * Complaint and Appeal Inquiries * Sponsorship Opportunities * Corporate Headquarters Other (ISC)² Sites * (ISC)² Authorized China Agency * (ISC)² Japan * Center for Cyber Safety & Education * (ISC)² Careers SOCIAL MEDIA * RSS * YouTube * Facebook * Twitter * LinkedIn * Community * Back to top © Copyright 1996-2023. (ISC)², Inc. All Rights Reserved. All contents of this site constitute the property of (ISC)², Inc. and may not be copied, reproduced or distributed without prior written permission. (ISC)², CISSP, SSCP, CCSP, CGRC, CSSLP, HCISPP, CISSP-ISSAP, CISSP-ISSEP, CISSP-ISSMP and CBK are registered certification marks of (ISC)², Inc. Cookie disclaimer: This website uses cookies. By continuing to use this website you are giving consent to cookies being used. For more information on cookies and how you can disable them visit (ISC)² Use of Cookie Policy. Ok " + "" + "" + "" + badgecount + "" + " "); /*$('[data-toggle=\"tooltip\"]').tooltip();*/ doc.close(); /* for test */ var doc1 = document.getElementById('chatunread-frame').contentWindow.document; doc1.open(); doc1.write("" + "x " + //"" + ""); doc1.close(); IMIGeneral.storeLocal("style_" + document.getElementById("divicw").getAttribute("data-bind") + "_" + window.location.hostname, msg); document.getElementById('chatbutton').style.display = "block"; } else { document.getElementById("divicw").innerHTML = ''; } } catch (e1) { } }, chatswitchicon: function (type) { console.log("Chatswitchicon::" + type); try { if (type === undefined || type == 1 || type == 0) { var destination = document.getElementById('iframechatwindow').contentWindow; msg = { "action": "register_rtm", "host": window.location.hostname }; destination.postMessage(msg, domainUrl); } /*type=1-max and 0- min */ var isMobile = "0"; // if (window.innerWidth > 768) { // document.getElementById('divchatmain').className = 'main-chat-cont'; // } else { // document.getElementById('divchatmain').className = 'main-chat-cont chatmobile'; // isMobile="1"; // } if ((navigator.userAgent.indexOf("Mobile")) != -1) { isMobile = "1"; } sessionStorage.setItem("data-bind", document.getElementById("divicw").getAttribute("data-bind")); sessionStorage.setItem("data-org", document.getElementById("divicw").getAttribute("data-org")); var iframe = document.getElementById('imi-chatbutton'); if (iframe == null || iframe == undefined) return; var innerDoc = iframe.contentDocument || iframe.contentWindow.document; //Open Widget if (document.getElementById("divchatmain").style.display === 'none' && (type == 1 || type == 2 || type == undefined)) { document.getElementById("divchatmain").style.display = "block"; IMIGeneral.checkmobile(); //if ((window.outerWidth < 497) && (document.documentElement.classList.contains('imichatmobile-active') == false) && document.getElementById("divchatmain").style.display == "block") { var className = " " + document.documentElement.className + " "; if ((window.outerWidth < 700) && (" " + className + " ").replace(/[\n\t]/g, " ").indexOf("imichatmobile-active") > -1 && document.getElementById("divchatmain").style.display == "block") { // if((document.documentElement.classList.value.split(/\s+|\./).filter(word => word === 'imichatmobile-active').length==1) == false){ document.documentElement.classList.remove("imichatmobile-active"); document.documentElement.className = document.documentElement.className + " imichatmobile-active"; // } } else { document.documentElement.className = document.documentElement.className.replace(' imichatmobile-active', ''); } document.getElementById('chatunread-frame').style.display = "none"; innerDoc.getElementById("widgetlbtn").setAttribute("class", "open-btn state1 " + buttonType + " close-btn"); // innerDoc.getElementById("widgetlbtn").setAttribute("aria-label", "Close web chat"); innerDoc.getElementById("widgetlbtn").setAttribute("aria-expanded", "true"); document.getElementById('imi-chatbutton').contentWindow.document.getElementById("chattotalbadge").style.display = "none"; document.getElementById('imi-chatbutton').contentWindow.document.getElementById("chattotalbadge").innerText = ""; localStorage.setItem(fingerprint + "_" + _skey + "_badgecount", 0); localStorage.setItem(fingerprint + "_" + _skey + "_cardcount", 0); IMIChatInit.clearmsgcards(); // if (IMIGeneral.getBrowserName() == "safari") { // if (IMIGeneral.detectIOS()) { // document.body.classList.add('chatnoscroll'); // } // } if (type === undefined) { var destination = document.getElementById('iframechatwindow').contentWindow; msg = { "action": "showiframe", "host": window.location.hostname, "chatmobile": isMobile }; destination.postMessage(msg, domainUrl); document.getElementById("iframechatwindow").setAttribute("aria-hidden","false"); } return; } //Close Widget if (document.getElementById("divchatmain").style.display === 'block' && (type == 0 || type == 2 || type == undefined)) { document.documentElement.className = document.documentElement.className.replace(' imichatmobile-active', ''); //document.body.classList.remove('chatnoscroll'); document.getElementById("divchatmain").style.display = "none"; innerDoc.getElementById("widgetlbtn").setAttribute("class", "open-btn state " + buttonType); innerDoc.getElementById("widgetlbtn").setAttribute("aria-expanded", "false"); innerDoc.getElementById("widgetlbtn").focus(); document.getElementById('chatunread-frame').style.display = "block"; localStorage.setItem(fingerprint + "_" + _skey + "_cardcount", 0); document.getElementById("iframechatwindow").setAttribute("aria-hidden", "true"); return; } //var iframeEl = document.getElementById("iframechatwindow"); // Make sure you are sending a string, and to stringify JSON // iframeEl.contentWindow.postMessage("hello", '*'); return; } catch (e) { console.log("LaunchProactiveMsgManager:" + e.msg); } }, clearmsgcards: function () { document.getElementById('chatunread-frame').contentWindow.document.getElementById("msg-list").innerHTML = ""; document.getElementById('chatunread-frame').contentWindow.document.getElementById("ancclearcards").style.display = "none"; //document.getElementById('imi-chatbutton').contentWindow.document.getElementById("chattotalbadge").style.display = "none"; //document.getElementById('imi-chatbutton').contentWindow.document.getElementById("chattotalbadge").innerText == ""; localStorage.setItem(fingerprint + "_" + _skey + "_cardcount", 0); }, openchat: function (event) { document.getElementById('imichat-fullscreen-modal').className = 'imichat-fullscreen-modal'; var destination = document.getElementById('iframechatwindow').contentWindow; destination.postMessage({ action: 'openchat', threadid: event.data.threadid, proactive_id: event.data.proactive_id }, '*'); parent.IMIChatInit.chatswitchicon(2); }, badgecount: function (event) { try { if (document.getElementById("divchatmain").style.display === 'none') { var count = document.getElementById('imi-chatbutton').contentWindow.document.getElementById("chattotalbadge").innerText; if (count == 0 || count == "") { count = 1; } else { count = parseInt(count) + 1; } var duplicate = 0; var innerDivs; var innerDivsCount = 0; var refChild; IMIChatInit.clearmsgcards(); var containerDiv = document.getElementById('chatunread-frame').contentWindow.document.getElementById("msg-list"); if (count > 1) { innerDivs = containerDiv.getElementsByClassName("msg"); if (innerDivs != undefined) { innerDivsCount = innerDivs.length; for (var i = 0; i < innerDivs.length; i++) { if ("msg_" + event.data.msgtransid == innerDivs[i].id) { duplicate = 1; } } refChild = innerDivs[0]; } } var cardcount; var checkbadgecount; if (innerDivs == undefined) { localStorage.setItem(event.data.fingerprint + "_" + _skey + "_cardcount", 1); } document.getElementById('imi-chatbutton').contentWindow.document.getElementById("chattotalbadge").style.display = "block"; if (duplicate == 0) { if (parseInt(innerDivsCount) == 5) { containerDiv.removeChild(document.getElementById('chatunread-frame').contentWindow.document.getElementsByClassName('msg')[4]); containerDiv.removeChild(document.getElementById('chatunread-frame').contentWindow.document.getElementsByClassName('msgclear')[4]); innerDivsCount = innerDivsCount - 1; } if ((parseInt(innerDivsCount) < 1 && event.data.badge_type === undefined) || event.data.badge_type === 2 || event.data.badge_type === 3) { var node = document.createElement("div"); var node1 = document.createElement("div"); var textnode = document.createTextNode(event.data.msg); if (textnode.data.length > 45) { if (event.data.badge_type === undefined || event.data.badge_type === 2) { textnode.data = textnode.data.substr(0, 45) + "..."; } else { textnode.data = textnode.data; } } node.className = "msg"; node.style = "cursor:pointer;"; node1.className = "msgclear"; node.id = "msg_" + event.data.msgtransid; // Create a text node node1.id = "msgclear_" + event.data.msgtransid; node1.style = "clear:both;"; node.addEventListener("click", function () { window.parent.postMessage({ action: 'openchat', threadid: event.data.threadid, proactive_id: event.data.proactive_id }, '*'); }); node1.addEventListener("click", function () { window.parent.postMessage({ action: 'openchat', threadid: event.data.threadid, proactive_id: event.data.proactive_id }, '*'); }); if (event.data.msg_from !== undefined && event.data.msg_from !== "") { var span = document.createElement("span"); //var span span.innerHTML = '' + event.data.msg_from + ':'; node.appendChild(span); } else if (event.data.msg_from === undefined || event.data.msg_from == "") { var span = document.createElement("span"); //var span span.innerHTML = 'New Conversation:'; node.appendChild(span); } node.appendChild(textnode); var height = document.getElementsByClassName('main-unreadchat-cont')[0].style.height; if (height == "") { height = 70; } if (innerDivsCount == 0) { height = document.getElementsByClassName('main-unreadchat-cont')[0].style.height = "150px"; } /* else if (innerDivsCount == 2) { height = document.getElementsByClassName('main-unreadchat-cont')[0].style.height = "150px"; } else if (innerDivsCount > 2) {*/ else { document.getElementsByClassName('main-unreadchat-cont')[0].style.height = parseInt(height) + 60 + "px"; } var referenceNode = document.getElementById('chatunread-frame').contentWindow.document.getElementById("msg-list"); // document.querySelector('#some-element'); if (innerDivsCount == 0) { referenceNode.appendChild(node); referenceNode.appendChild(node1); } else { referenceNode.insertBefore(node, refChild); referenceNode.insertBefore(node1, refChild); if ((window.innerHeight + 100) < (document.getElementsByClassName("main-unreadchat-cont")[0].style.height)) { var frame = document.getElementById('chatunread-frame'); var c = frame.contentDocument || frame.contentWindow.document; c.getElementsByTagName("body")[0].offsetHeight = '80%'; c.getElementsByTagName("body")[0].style.overflow = "auto"; } } if (event.data.badge_type === 3) { document.getElementsByClassName("main-unreadchat-cont")[0].style.height = "100%"; var frame = document.getElementById('chatunread-frame'); var c = frame.contentDocument || frame.contentWindow.document; c.getElementsByClassName("msg")[0].style.maxHeight = "unset"; var frameheight = c.getElementsByTagName("body")[0].offsetHeight; document.getElementsByClassName("main-unreadchat-cont")[0].style.height = frameheight + "px"; } } else if (event.data.badge_type === 4) { var fullscreen_modal = document.getElementById('imichat-fullscreen-modal'); fullscreen_modal.className = 'imichat-fullscreen-modal imichat-open'; fullscreen_modal.contentWindow.postMessage({ action: 'bind_data', proactive_id: event.data.proactive_id, threadid: event.data.threadid, msg_from: event.data.msg_from, msg: event.data.msg, btn_chat_now_open: IMILocalisation.getValue(_IMIchat_widget_lang, "proactive_poupup_chat_now_button", "Chat Now"), btn_chat_now_close: IMILocalisation.getValue(_IMIchat_widget_lang, "proactive_poupup_close_button", "Close") }, "*"); } cardcount = parseInt(localStorage.getItem(event.data.fingerprint + "_" + _skey + "_cardcount")) + 1; localStorage.setItem(event.data.fingerprint + "_" + _skey + "_cardcount", cardcount); localStorage.setItem("fingerprint", event.data.fingerprint); localStorage.setItem(event.data.fingerprint + "_" + _skey + "_badgecount", count); document.getElementById('imi-chatbutton').contentWindow.document.getElementById("chattotalbadge").innerText = count; } document.getElementById('chatunread-frame').contentWindow.document.getElementById("ancclearcards").style.display = (event.data.badge_type === undefined || (event.data.badge_type === 2 || event.data.badge_type === 3)) ? "block" : "none"; } } catch (e) { console.log("badgecount:" + e.msg); } }, message: function (event) { try { if (event.data.action != null) { if (event.data.action == 'openchat') { IMIChatInit.openchat(event); } if (event.data.action == 'badgecount') { IMIChatInit.badgecount(event); } if (event.data.action == 'chatswitchicon') { IMIChatInit.chatswitchicon(); //event } if (event.data.action == 'imichat_custom_chat_fields') { if (event.data.type == 'add') { if (_IMIchat_callback_dic['imichat-widget:custom_chat_fields_init'] !== undefined) { _IMIchat_callback_dic['imichat-widget:custom_chat_fields_init'](event.data.response); } } else if (event.data.type == 'update') { if (_IMIchat_callback_dic['imichat-widget:custom_chat_fields_update'] !== undefined) { _IMIchat_callback_dic['imichat-widget:custom_chat_fields_update'](event.data.response); } }//event } if (event.data.action == 'loadstyles') { IMIChatInit.loadwidgetStyles(event.data.message); IMIChatInit.loadJQuery(_domain_name, function () { IMIChatInit.LaunchProactiveMsgManager(_domain_name, function () { }); IMIChatInit.handleAbandonedChats(); }); try { if (event.data.message != null) { if (_IMIchat_callback_dic['imichat-widget:ready'] !== undefined) { _IMIchat_callback_dic['imichat-widget:ready'](_attr_key); console.log("imichat-widget:ready fired"); } //eval('imichatWidgetLoaded();'); if (_IMIchat_callback_dic['imichat-widget:custom_chat_fields_init'] !== undefined) { _IMIchat_callback_dic['imichat-widget:custom_chat_fields_init'](); } } } catch (e) { } } if (event.data.action == 'closemodelpopup') { document.getElementById('imichat-fullscreen-modal').className = 'imichat-fullscreen-modal'; } if (event.data.action == 'setsession') { sessionStorage.setItem(event.data.key, event.data.value); } if (event.data.action == 'setlocal') { localStorage.setItem(event.data.key, event.data.value); } if (event.data.action == 'browserstorage') { document.getElementById("divicw").innerHTML = " \n \n \nError: Cookies Disabled We use cookies to enable best chat experience. Follow these directions to re-enable cookies specific to your browser type or re-open this website in a cookie-enabled browser. "; console.log("Local storage not supported"); } } } catch (e) { } }, resize: function () { try { var destination = document.getElementById('iframechatwindow').contentWindow; destination.postMessage({ action: 'resize', width: window.outerWidth //window.innerWidth//screen.width // document.body.clientWidth }, "*"); IMIGeneral.checkmobile(); } catch (e) { } }, LaunchProactiveMsgManager: function (domainName, callback) { try { var widget_styles = localStorage.getItem("style_" + document.getElementById("divicw").getAttribute("data-bind") + "_" + window.location.hostname); if (widget_styles == null && !JSON.parse(widget_styles).enable_proactive) { callback(); return; } var body = document.getElementsByTagName('body')[0]; var script = document.createElement('script'); script.type = 'text/javascript'; script.src = IMIChatInit.domainName() + '/js/proactive-msg-manager.js'; body.appendChild(script); script.addEventListener('load', function (event) { console.log('proactive manager loaded;'); var destination = document.getElementById('iframechatwindow').contentWindow; destination.postMessage({ action: 'proactive-manager-loaded', attrkey: document.getElementById("divicw").getAttribute("data-bind"), host: window.location.hostname }, "*"); callback(); }); } catch (e) { console.log("LaunchProactiveMsgManager:" + e.msg); } }, processAbandonedChats: function (type) { var browser_fingerprint = localStorage.getItem("fingerprint"); var url = IMIGeneral.profileUrl() + "livechats/" + _attr_key + "/customers/" + browser_fingerprint + "/abandoned?host=" + window.document.URL; url = url + "&type=" + type; var body = JSON.stringify({ "is_reloaded": false, "is_closechat": true }); var headers = { type: 'application/json' }; var blob = new Blob([body], headers); navigator.sendBeacon(url); }, handleAbandonedChats: function () { // Attach the event keypress to exclude the F5 refresh //jQuery(window).on('keydown', function (e) { window.addEventListener('keydown', function (e) { if (e.keyCode == 116) { _IMIchat_IsValidNavigation = true; } }); window.addEventListener("beforeunload", function (e) { sessionStorage.setItem(_attr_key + "_imichat-reload-check", document.referrer); console.log(document.referrer); //sessionStorage.setItem("imi_tabid", Math.random().toString(16).slice(2)); if (_IMIchat_IsValidNavigation !== undefined && !_IMIchat_IsValidNavigation) { IMIChatInit.processAbandonedChats("unload"); } }); if (window.performance.navigation.type == 1) { IMIChatInit.processAbandonedChats("load"); } }, loadJQuery: function (domainName, callback) { if (typeof (jQuery) !== 'undefined') { callback(); return; } var body = document.getElementsByTagName('body')[0]; var script = document.createElement('script'); script.type = 'text/javascript'; script.src = domainName + '/js/jquery-3.1.1.js'; body.appendChild(script); script.addEventListener('load', function (event) { callback(); }); return; }, on: function (func_name, callback) { if (typeof callback != 'function') { console.error('function was expected.'); return; } switch (func_name) { case 'imichat-widget:ready': _IMIchat_callback_dic['imichat-widget:ready'] = callback; break; } }, checklocalStorage: function () { var test = 'test'; try { localStorage.setItem(test, test); localStorage.removeItem(test); return true; } catch (e) { return false; } }, call_previous_chats: function () { try { var destination = document.getElementById('iframechatwindow').contentWindow; msg = { "action": "showiframe", "host": window.location.hostname, "chatmobile": ((navigator.userAgent.indexOf("Mobile")) != -1) ? "1" : "0" }; destination.postMessage(msg, domainUrl); } catch (e) { } }, check_clear_session_chats: function () { if (document.referrer == sessionStorage.getItem(_attr_key + "_imichat-reload-check")) { return false; } else if (sessionStorage.getItem(_attr_key + "_imichat-reload-check") == undefined) { return true; } else { console.log("Hey, Thanks for visiting again"); return false; } } }; }(); if (IMIChatInit.checklocalStorage()) { IMIChatInit.init(); } else { document.getElementById("divicw").innerHTML = " \n \n \nError: Cookies Disabled We use cookies to enable best chat experience. Follow these directions to re-enable cookies specific to your browser type or re-open this website in a cookie-enabled browser. "; console.log("Local storage not supported"); } var imichatwidget = { // get hasInitiatedConversation() { // if (sessionStorage.getItem("imichat_hasinitconvexist") == null) // return false; // if (sessionStorage.getItem("imichat_hasinitconvexist") == "1") { // return true; // } else { // return false; // } // }, hasInitiatedChat: function () { if (sessionStorage.getItem("imichat_hasinitconvexist") == null) return false; if (sessionStorage.getItem("imichat_hasinitconvexist") == "1") { return true; } else { return false; } }, show: function () { //$("#divicw").show();return; document.getElementById("divicw").style.display = 'block'; }, hide: function () { // $("#divicw").hide();return; document.getElementById("divicw").style.display = 'none'; }, /* test:function() { if(sessionStorage.getItem("imichat_hasinitconvexist")==null) return false; if(sessionStorage.getItem("imichat_hasinitconvexist")=="1") { return true; } else { return false; } },*/ maximizeWindow: function () { IMIChatInit.chatswitchicon(1); IMIChatInit.resize(); IMIChatInit.call_previous_chats(); return; }, minimizeWindow: function () { return IMIChatInit.chatswitchicon(0); }, init: function (jsondata, callback) { if (typeof callback != 'function') { console.error('function was expected.'); return; } var destination = document.getElementById('iframechatwindow').contentWindow; destination.postMessage({ action: 'imichat_custom_chat_fields', data: jsondata, type: 'add' }, '*'); _IMIchat_callback_dic['imichat-widget:custom_chat_fields_init'] = callback; }, update: function (jsondata, callback) { if (typeof callback != 'function') { console.error('function was expected.'); return; } var destination = document.getElementById('iframechatwindow').contentWindow; destination.postMessage({ action: 'imichat_custom_chat_fields', data: jsondata, type: 'update' }, '*'); _IMIchat_callback_dic['imichat-widget:custom_chat_fields_update'] = callback; }, on: function (func_name, callback) { if (typeof callback != 'function') { console.error('function was expected.'); return; } switch (func_name) { case 'imichat-widget:ready': _IMIchat_callback_dic['imichat-widget:ready'] = callback; break; } } }; /* function imichatWidgetLoaded(){imi imichatwidget.maximizeWindow(); }*/