Question: Rose, a local software engineer, was assigned to fix the code. She is known for her good design and coding skills. While she is usually

Rose, a local software engineer, was assigned to fix the code. She is known for her good design and coding skills. While she is usually very rational, she has decided that it is not worth fixing Jack Hackers code below. Shed rather rewrite it from scratch! Rose is right the code below doesnt completely work, nor is it particularly well written or efficient. For Part 1 of this assignment, identify any 10 problems with this code that make it bad code.

//**~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~

// File: cnnCrawler.java

//

// This code looks at the CNN website and follows some links to get info on articles that I want more

// info on.

// All output is written in the working directory to: cnnCrawlerOutput.txt

//**~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~

import gnu.regexp.*;

import java.net.*;

import java.io.*;

public class cnnCrawler{

public static void main(String[] args)

{

StringBuffer basePage = new StringBuffer();

// Connect to CNN and get the document

basePage = getBasePageContents("http://www.cnn.com");

// Look at the area of interest (The "MORE FROM CNN" section)

basePage = initialIsolateBasePageContents(basePage);

// Pull all of the URLs out

basePage = getInfo(basePage, " ]*|/b>]*");

basePage = getInfo(basePage, "\"/[^(\")]*");

basePage = getInfo(basePage,"\"[^&]*");

// Go to the URLs and pull out the information of interest and

// write to file.

goToURLs(basePage);

}

//**~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~

// Method: getBasePageContents

//

// This method opens a connection to the webpage we are interested in and stores

// all of the text on the page

//**~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~

public static StringBuffer getBasePageContents(String myURL){

try{

// Set base document to CNN, open connection,

// and copy the source text into a buffer

URL cnnBaseDoc = new URL(myURL);

cnnBaseDoc.openConnection();

BufferedReader cnnBaseBuffer = new BufferedReader(

new InputStreamReader(

cnnBaseDoc.openStream()));

String cnnBaseInputLine;

StringBuffer tempDocument = new StringBuffer();

while ((cnnBaseInputLine = cnnBaseBuffer.readLine()) != null){

tempDocument.append(cnnBaseInputLine);

}

cnnBaseBuffer.close();

return(tempDocument);

}

catch(MalformedURLException e) {

System.out.println("Unable to create URL object");

return(null);

}

catch(IOException e){

System.out.println("Unable to open URL");

return(null);

}

}

//**~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~

// Method: initialIsolateBasePageContents

//

// This method isolates us to store only the section we are interest in --

// the "MORE FROM CNN" section

//

//**~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~

public static StringBuffer initialIsolateBasePageContents(StringBuffer basePage){

try{

RE document = new RE(basePage);

// Define the left and right isolators

String sLeft = new String("MORE FROM CNN[//w//W]*");

RE leftCntxt = new RE(sLeft);

RE rightCntxt= new RE(">SPORTS");

StringBuffer sLIsolator = new StringBuffer("");

int iLIsolatorIndex = 0;

RE regLIsolator = new RE(leftCntxt);

REMatch ctxtLMatch = regLIsolator.getMatch(basePage);

sLIsolator.append(ctxtLMatch.toString());

iLIsolatorIndex = ctxtLMatch.getStartIndex();

// Find the Right Isolator

StringBuffer sRIsolator = new StringBuffer();

RE regRIsolator = new RE(rightCntxt);

int iRIsolatorIndex = 0;

REMatch ctxtRMatch = regRIsolator.getMatch(basePage);

sRIsolator.append(ctxtRMatch.toString());

iRIsolatorIndex = ctxtRMatch.getStartIndex();

basePage.delete(iRIsolatorIndex, basePage.length());

basePage.delete(0, iLIsolatorIndex);

return(basePage);

}

catch(REException e){

System.out.println("RE Exception");

return(null);

}

}

//**~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~

// Method: getInfo

//

// This method applies the specified regular expression to the string passed in

//**~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~

public static StringBuffer getInfo(StringBuffer textToSearch, String regExp){

try{

StringBuffer sIsolated = new StringBuffer("");

int iLIsolatorIndex = 0;

String sLeft = new String(regExp);

RE leftCntxt = new RE(sLeft);

RE regLIsolator = new RE(leftCntxt);

REMatchEnumeration ctxtLMatch = regLIsolator.getMatchEnumeration(textToSearch);

while (ctxtLMatch.hasMoreMatches()){

sIsolated.append(ctxtLMatch.nextMatch().toString());

sIsolated.append(" ");

}

return(sIsolated);

}

catch(REException e){

System.out.println("RE Exception");

return(null);

}

}

public static void goToURLs(StringBuffer textToSearch)

{

try{

StringBuffer interestingDoc = new StringBuffer("");

StringBuffer sInfoForFile = new StringBuffer("");

int numPage=0;

FileOutputStream fCnnOut;

PrintStream pCnnOut;

String sLeft = new String("/[^\"]*");

RE leftCntxt = new RE(sLeft);

String sIsolated = new String();

int iLIsolatorIndex = 0;

RE regLIsolator = new RE(leftCntxt);

REMatchEnumeration ctxtLMatch = regLIsolator.getMatchEnumeration(textToSearch);

fCnnOut = new FileOutputStream("cnnCrawlerOutput.txt");

pCnnOut = new PrintStream(fCnnOut);

while (ctxtLMatch.hasMoreMatches())

{

numPage++;

sIsolated = "http://www.cnn.com";

sIsolated += (ctxtLMatch.nextMatch().toString());

interestingDoc = connectToURLs(sIsolated);

sInfoForFile = getDocInfo(interestingDoc, sIsolated, numPage);

pCnnOut.println (sInfoForFile);

}

pCnnOut.close();

System.out.println("You may view the output in file: cnnCrawlerOutput.txt.");

}

catch(REException e){

System.out.println("RE Exception");

}

catch (Exception e)

{

System.out.println ("Error writing file.");

}

}

//**~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~

// Method: connectToURLs

// This method opens a URL and returns the text of the page

//**~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~

public static StringBuffer connectToURLs(String urlText){

try{

URL cnnBaseDoc = new URL(urlText);

cnnBaseDoc.openConnection();

BufferedReader cnnBaseBuffer = new BufferedReader(

new InputStreamReader(

cnnBaseDoc.openStream()));

String cnnBaseInputLine;

StringBuffer tempDocument = new StringBuffer();

while ((cnnBaseInputLine = cnnBaseBuffer.readLine()) != null){

tempDocument.append(cnnBaseInputLine);

}

cnnBaseBuffer.close();

return(tempDocument);

}

catch(MalformedURLException e) {

System.out.println("Unable to create URL object");

return(null);

}

catch(IOException e){

System.out.println("Unable to open URL");

return(null);

}

}

//**~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~

// Method: getDocInfo

//

// This method returns the interesting information that we were asked to parse out

// including: Date, Place, Headline, URL, and First paragraph.

//**~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~

public static StringBuffer getDocInfo(StringBuffer doc, String URL, int ID){

StringBuffer importantInfoToReturn = new StringBuffer("");

StringBuffer Headline = new StringBuffer("");

StringBuffer Date = new StringBuffer("");

StringBuffer Place = new StringBuffer("");

StringBuffer FirstParagraph = new StringBuffer("");

URL = URL.substring(0, (URL.length()-1));

Date.append(getInfo(doc, "name=\"DATE\" content=\"[^>]*"));

if(Date.length() > 0){

Date.delete(0,21);

Date.delete((Date.length()-1), Date.length());

}

else{

Date.append("No date Reported.");

}

Place.append(getInfo(doc, "

[^(

)]*|

[^-]*"));

if(Place.length() > 0){

Place.delete(0,6);

}

else{

Place.append("No location Reported.");

}

Headline.append(getInfo(doc, "CNN.com - [^-]*"));</p> <p>if(Headline.length() > 0){</p> <p>Headline.delete(0,17);</p> <p>Headline.delete((Headline.length()-1), Headline.length());</p> <p>}</p> <p>else{</p> <p>Headline.append("No headline Reported.");</p> <p>}</p> <p>FirstParagraph.append(getInfo(doc, "DESCRIPTION\" content=[^>]*"));</p> <p>if(FirstParagraph.length() > 0){</p> <p>FirstParagraph.delete(0, 22);</p> <p>FirstParagraph.delete(FirstParagraph.length()-1, FirstParagraph.length());</p> <p>}</p> <p>importantInfoToReturn.append(" ");</p> <p>importantInfoToReturn.append((ID + " | "));</p> <p>importantInfoToReturn.append((Headline + " | "));</p> <p>importantInfoToReturn.append((URL + " | "));</p> <p>importantInfoToReturn.append((Date + " | "));</p> <p>importantInfoToReturn.append((Place + " | "));</p> <p>importantInfoToReturn.append((FirstParagraph));</p> <p>return(importantInfoToReturn);</p> <p>}</p> <p>}</p> </div> <div class="question-answer-divider"></div> <section class="answerHolder" itemscope itemtype="http://schema.org/Answer"> <div class="answerHolderHeader"> <h2>Step by Step Solution</h2> <div class="answerReviews"> <div class="starIcon"> </div> </div> </div> <div class="questionProperties"> <p>There are 3 Steps involved in it</p> <div class="cart-flex"> <div class="cart cart1"> 1 Expert Approved Answer </div> </div> </div> <div class="step org_answer"> <span class="view_solution_btn view-solution-btn-cursor"> <strong class="step-heading step-1">Step: 1 <span>Unlock <i class="fa-solid fa-lock"></i></span></strong> </span> <img src="https://www.solutioninn.com/includes/images/document_product_info/blur-text-image.webp" class="blured-ans-image" width="759" height="271" alt="blur-text-image" decoding="async" fetchpriority="high"> <div class="step1Popup"> <span class="heading">Question Has Been Solved by an Expert!</span> <p>Get step-by-step solutions from verified subject matter experts</p> <button class="view_solution_btn step1PopupButton">View Solution</button> </div> </div> <div class="step"> <span class="view_solution_btn view-solution-btn-cursor"> <strong class="accordion step-heading">Step: 2 <span>Unlock <i class="fa-solid fa-lock"></i></span></strong> </span> </div> <div class="step"> <span class="view_solution_btn view-solution-btn-cursor"> <strong class="accordion step-heading">Step: 3 <span>Unlock <i class="fa-solid fa-lock"></i></span></strong> </span> </div> </section> <section class="relatedQuestion"> <h3>Students Have Also Explored These Related Databases Questions!</h3> <div class="relatedQuestionSliderHolder"> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/overview-of-the-case-what-do-you-think-of-the-23457900" > Overview of the case. What do you think of the particular assignment given to Browning? TEXTBOOK : Brown, C.V., DeHayes, D.W., Hoffer, J.A., Martin, E.W., and Perkins, W.C. Managing Information... </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/fundamentals-of-project-management-fourth-edition-by-reza-torkzadeh-fundamentals-27485268" > Fundamentals of Project Management Fourth Edition by Reza Torkzadeh FUNDAMENTALS OF PROJECT MANAGEMENT Reza Torkzadeh Copyright 2012-2013 by Reza Torkzadeh. All rights reserved. No part of this... </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/lean-quiz-this-quiz-is-based-upon-staats-b-r-4192361" > LEAN QUIZ This quiz is based upon: Staats, B. R., & Upton, D. M. (2011). Lean knowledge work. Harvard Business Review, (October), Complete 5 of 7 questions correctly for maximum of 5 points. Which is... </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/ftable-of-contents-list-of-figures-r2-internal-competitive-10659185" > \fTable of Contents List of Figures R2 - Internal Competitive Analysis Internal Competitive Analysis of Top Tier Firms The social networking industry is split into two market segments: Consumer and... </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/ftable-of-contents-list-of-figures-r2-internal-competitive-10659263" > \fTable of Contents List of Figures R2 - Internal Competitive Analysis Internal Competitive Analysis of Top Tier Firms The social networking industry is split into two market segments: Consumer and... </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/each-separate-response-must-have-approximately-200-words-assignments-vary-3052761" > Each separate response must have approximately 200 words. Assignments vary widely; however, essays should be written in APA style, with in-text citations and a separate reference listing as... </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/atc-141-pg-686-1follow-the-cash-in-a-narrative-3086716" > ATC 14-1 (Pg. 686) 1.(Follow the cash) In a narrative format, answer the questions posed in the case. 2.What is meant by "presentation of financial statement information in common-size amounts rather... </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/each-separate-response-must-have-approximately-200-words-assignments-vary-3052753" > Each separate response must have approximately 200 words. Assignments vary widely; however, essays should be written in APA style, with in-text citations and a separate reference listing as... </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/atc-141-pg-686-1follow-the-cash-in-a-narrative-3086739" > ATC 14-1 (Pg. 686) 1.(Follow the cash) In a narrative format, answer the questions posed in the case. 2.What is meant by "presentation of financial statement information in common-size amounts rather... </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/each-separate-response-must-have-approximately-200-words-assignments-vary-3052904" > Each separate response must have approximately 200 words. Assignments vary widely; however, essays should be written in APA style, with in-text citations and a separate reference listing as... </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/suppose-there-were-strong-speculative-capital-flows-into-the-euro" > Suppose there were strong speculative capital flows into the euro from the Nigerian naira due to political turmoil in Nigeria. Explain what would happen to the EMU's money supply, monetary base, and... </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/5-poir-q-for-the-network-of-figure-below-calculate-231301" > Q/ For the network of Figure below, calculate A, using re model. o 22.7 V Rc 1.3 KN RB = 450 K Cc2 OV Cc1 B=149 RE = 2.5 K2. CE </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/inventory-position-is-the-inventory-on-hand-plus-the-inventory-27933581" > Inventory position is the inventory on hand plus the inventory on order. - True False </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/questions/ct-corp-comprehensive-question-canadian-tire-corporation-limited-canadian-15961854" > CT Corp Comprehensive Question Canadian Tire Corporation, Limited ( Canadian Tire ) is a family of companies that includes a retail segment and a financial services division, among others. The retail... </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/intercultural-communication/approaches-to-managing-organizations-2116200" > Approaches to Managing Organizations </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/intercultural-communication/do-members-demonstrate-respect-for-one-anotherfor-example-by-keeping-2116199" > Do members demonstrate respect for one anotherfor example, by keeping disagreements focused on the issues or positions at hand rather than on personal character? </a> </div> <div class="relatedQuestionCart "> <p class="heading">Q: </p> <a class="relatedQuestionText" href="/study-help/intercultural-communication/communicating-organizational-culture-2116201" > Communicating Organizational Culture </a> </div> </div> <nav class="navigationButtons"> <a class="previousQuestionButton" href="/study-help/questions/topic-instance-method-and-designing-class-code-language-java-design-12668428">Previous Question</a> <a class="nextQuestionButton" href="/study-help/questions/which-two-actions-are-performed-by-mail-flow-policies-on-12668430">Next Question</a> </nav> </section> </main> <aside class="expertRight"> <section class="relatedBook" style="margin-bottom:40px; width: 100%;" > <div class="bookHolder" > <div class="relatedBookHeading" > <h2 class="heading">Recommended Textbook</h2> </div> <div class="bookMainInfo" > <div class="bookImage" style="width: 100px !important; min-width: 100px; flex-shrink: 0; margin-right: 20px;"> <a href="/textbooks/data-analytics-and-quality-management-fundamental-tools-1st-edition-979-8862833232-198462"> <img src="https://dsd5zvtm8ll6.cloudfront.net/si.question.images/book_images/2024/01/65a237236ba66_76365a2372362863.jpg" width="100" height="131" alt="Data Analytics And Quality Management Fundamental Tools" loading="lazy" style="width: 100px !important;"> </a> <a href="/textbooks/computer-science-ada-programming-2391" style="margin-top: 8px; display: block; text-align: left;">More Books</a> </div> <div class="bookInfo" style="text-align: left;"> <span class="bookTitle" style="text-align: left;"> <a href="/textbooks/data-analytics-and-quality-management-fundamental-tools-1st-edition-979-8862833232-198462" style="text-align: left;"> Data Analytics And Quality Management Fundamental Tools </a> </span> <div class="bookMetaInfo" style="text-align: left;"> <p class="bookAuthor" style="text-align: left;"> <b>Authors:</b> <span>Joseph Nguyen</span> </p> <p class="bookEdition" style="text-align: left;"> 1st Edition </p> <p class="bookEdition" style="text-align: left;"> B0CNGG3Y2W, 979-8862833232 </p> </div></div></div> </div> </section> <div class="post-question-section"> <div class="description-question-section"> <span class="post-question-section-title">Ask a Question and Get Instant Help!</span> </div> <div class="text-area-post-question"> <form action="/study-help/post-question?ref=search" method="post" enctype="multipart/form-data"> <textarea rows="4" class="form-control form-posting-margin" name="textarea-question-content" id="textarea-question-content" placeholder="Type Your Question ...."></textarea> <button type="submit" class="btn btn-sm btn-submit-post-question text-center">Get Answer</button> </form> </div> </div> </aside> </div> </div> <div class="promo items-center justify-center hidden"> <div class="app_promo"> <span class="app_promo_dismiss"> <i class="fa-solid fa-x"></i> </span> <div class="app-button"> <div class="image-wrapper"> <img width="30" height="30" src="https://www.solutioninn.com/includes/images/rewamp/common/mobile-app-logo.png" decoding="async" fetchpriority="high" alt="SolutionInn App Logo"> <strong>Study Help</strong> </div> <button class="app_promo_action redirection" data-question-open-url='q_id=12668429&q_type=2'> Open in App </button> </div> </div> </div> </div> </div> <div class="blank-portion"></div> <footer> <div class="container footerHolder"> <div class="footerLinksFlex"> <div class="footerLinksCol col-md-3 col-lg-3 col-sm-6 col-6"> <p>Services</p> <ul> <li><a href="/site-map">Sitemap</a></li> <li><a href="/fun/">Fun</a></li> <li><a href="/study-help/definitions">Definitions</a></li> <li><a href="/tutors/become-a-tutor">Become Tutor</a></li> <li><a href="/books/used-textbooks">Used Textbooks</a></li> <li><a href="/study-help/categories">Study Help Categories</a></li> <li><a href="/study-help/latest-questions">Recent Questions</a></li> <li><a href="/study-help/questions-and-answers">Expert Questions</a></li> <li><a href="/clothing">Campus Wear</a></li> <li><a href="/sell-books">Sell Your Books</a></li> </ul> </div> <div class="footerLinksCol col-md-3 col-lg-3 col-sm-6 col-6"> <p>Company Info</p> <ul> <li><a href="/security">Security</a></li> <li><a href="/copyrights">Copyrights</a></li> <li><a href="/privacy">Privacy Policy</a></li> <li><a href="/conditions">Terms & Conditions</a></li> <li><a href="/solutioninn-fee">SolutionInn Fee</a></li> <li><a href="/scholarships">Scholarship</a></li> <li><a href="/online-quiz">Online Quiz</a></li> <li><a href="/study-feedback">Give Feedback, Get Rewards</a></li> </ul> </div> <div class="footerLinksCol col-md-3 col-lg-3 col-sm-6 col-6"> <p>Get In Touch</p> <ul> <li><a href="/about-us">About Us</a></li> <li><a href="/support">Contact Us</a></li> <li><a href="/career">Career</a></li> <li><a href="/jobs">Jobs</a></li> <li><a href="/support">FAQ</a></li> <li><a href="https://www.studentbeans.com/en-us/us/beansid-connect/hosted/solutioninn" target="_blank" rel="noopener nofollow">Student Discount</a></li> <li><a href="/campus-ambassador-program">Campus Ambassador</a></li> </ul> </div> <div class="footerLinksCol col-md-3 col-lg-3 col-sm-6 col-12"> <p>Secure Payment</p> <div class="footerAppDownloadRow"> <div class="downloadLinkHolder"> <img src="https://dsd5zvtm8ll6.cloudfront.net/includes/images/rewamp/common/footer/secure_payment_method.png" class="img-fluid mb-3" width="243" height="28" alt="payment-verified-icon" loading="lazy"> </div> </div> <p>Download Our App</p> <div class="footerAppDownloadRow"> <div class="downloadLinkHolder mobileAppDownload col-md-6 col-lg-6 col-sm-6 col-6 redirection" data-id="1"> <img style="cursor:pointer;" src="https://dsd5zvtm8ll6.cloudfront.net/includes/images/rewamp/home_page/google-play-svg.svg" alt="SolutionInn - Study Help App for Android" width="116" height="40" class="img-fluid mb-3 " loading="lazy"> </div> <div class="downloadLinkHolder mobileAppDownload col-md-6 col-lg-6 col-sm-6 col-6 redirection" data-id="2"> <img style="cursor:pointer;" src="https://dsd5zvtm8ll6.cloudfront.net/includes/images/rewamp/home_page/apple-store-download-icon.svg" alt="SolutionInn - Study Help App for iOS" width="116" height="40" class="img-fluid mb-3" loading="lazy"> </div> </div> </div> </div> </div> <div class="footer-bottom"> <p>© 2026 SolutionInn. All Rights Reserved</p> </div></footer> <script> window.addEventListener("load",function(){jQuery(document).ready(function(t){ // Clarity tracking (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "sjv6tuxsok"); // Helper to read a cookie by name function getCookie(name) { return document.cookie .split('; ') .map(v => v.split('=')) .reduce((acc, [k, val]) => (k === name ? decodeURIComponent(val || '') : acc), ''); } // Read cookies var si = getCookie('si_u_id'); var uid = getCookie('u_id'); var zen = getCookie('zenid'); // Send to Clarity if (si) clarity('set', 'si_u_id', si); if (uid) clarity('set', 'u_id', uid); if (zen) clarity('set', 'zenid', zen); clarity('set', 'ip_address', '216.73.216.28'); t.ajax({type:"POST",url:"/",data:{trackUserActivity:!0,reqUri:document.URL,referer:document.referrer},success:function(t){}})})},!1),window.addEventListener("load",function(){jQuery(document).ready(function(t){t.ajax({type:"POST",url:"/",data:{insertCrawler:!0,reqUri:document.URL,parseTime:"0.056",queryTime:"0.01654768548584",queryCount:"30"},success:function(t){}})})},!1),window.addEventListener("load",function(){jQuery(document).ready(function(){function t(t="",n=!1){var i="itms-apps://itunes.apple.com/app/id6462455425",e="openApp://action?"+t;isAndroid()?(setTimeout(function(){return window.location="market://details?id=com.solutioninn.studyhelp",!1},25),window.location=e):isIOS()?(setTimeout(function(){return window.location=i,!1},25),window.location=e):(i="https://apps.apple.com/in/app/id6462455425",n&&(i="https://play.google.com/store/apps/details?id=com.solutioninn.studyhelp"),window.open("about:blank","_blank").location.href=i)}jQuery("#appModal").modal("show"),jQuery(".download-app-btn").click(function(){t(jQuery(this).attr("data-question-open-url"))}),jQuery(".redirection").click(function(){var n=jQuery(this).attr("data-question-open-url"),i=jQuery(this).attr("data-id");void 0!=n?1==i?t(n,!0):t(n,!1):1==i?t("",!0):t("",!1)}),jQuery(".app-notification-close").click(function(){jQuery(".app-notification-section").css("visibility","hidden");var t=new FormData;t.append("hide_notification",!0),jQuery.ajax({type:"POST",url:"/",data:t,cache:!1,contentType:!1,processData:!1,beforeSend:function(){},success:function(t){location.reload()}})})})},!1); </script> </body> </html>