1<!doctype html> 2<html lang="en"> 3 4<head> 5 <!-- Google tag (gtag.js) -->
vendor: 68 bytes, lines 5-6
5 6 <script async src="https://www.googletagmanager.com/gtag/js?id=
6G-XKZ1LKTNPG
vendor: 16 bytes, lines 6-7
6"></script> 7
7<script> 8
vendor: 152 bytes, lines 8-12
8window.dataLayer = window.dataLayer || []; 9 function gtag(){dataLayer.push(arguments);} 10 gtag('js', new Date()); 11 12 gtag('config', '
12G-XKZ1LKTNPG
vendor: 8 bytes, lines 12-13
12'); 13
13</script>
13 14 <meta charset="utf-8"> 15<meta name="viewport" content="width=device-width, initial-scale=1"> 16<meta name="csrf-token" content="49FyKxNpamG6DbNTnJdbYKd74rd8NQzAORE6Wc3V"> 17<link rel="icon" href="https://moneybar.in/favicon.ico"> 18<link rel='stylesheet' href="https://moneybar.in/assets/frontend/css/moneyBar.css?v=10"> 19<link href="https://moneybar.in/assets/frontend/css/bootstrap.min.css" rel="stylesheet"> 20<link href="https://moneybar.in/assets/frontend/css/lightbox.min.css" rel="stylesheet">
21<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB" crossorigin="anonymous"></script>
vendor: 1 bytes, line 21
21
22<script src="https://moneybar.in/assets/frontend/js/bootstrap.min.js"></script>
22 23<link rel="preconnect" href="https://fonts.googleapis.com"> 24<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> 25<link rel="stylesheet" href= "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> 26<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g==" crossorigin="anonymous" referrerpolicy="no-referrer" /> 27<link rel='stylesheet' href="https://moneybar.in/assets/frontend/css/custom.css?v=1"> 28<link rel='stylesheet' href="https://moneybar.in/assets/frontend/css/dark-theme.css?v=8"> 29<title> Home - Finance Community for Smarter Money Conversations | Moneybar</title><!-- <title>Moneybar! Let's talk Money!</title> --> 30<meta name="description" content="Join Moneybar, India's finance community where people discuss saving, investing, budgeting and money experiences to build smarter financial habits."> 31 32 <!-- Facebook Meta Tags --> 33 <meta property="og:title" content="Finance Community for Smarter Money Conversations | Moneybar" /> 34 <meta property="og:url" content="https://moneybar.in/"/> 35 <meta property="og:description" content="Join Moneybar, India's finance community where people discuss saving, investing, budgeting and money experiences to build smarter financial habits." /> 36 <meta property="og:image" content="https://moneybar.in/assets/frontend/image/logo.png?v=3" /> 37 <meta property="og:type" content="website" /> 38 <meta property="og:locale" content="en_IN" /> 39 <!-- Twitter Meta Tags --> 40 <meta name="twitter:card" content="summary_large_image"> 41 <meta property="twitter:domain" content=""> 42 <meta property="twitter:url" content=""> 43 <meta name="twitter:title" content="Finance Community for Smarter Money Conversations | Moneybar"> 44 <meta name="twitter:description" content="Join Moneybar, India's finance community where people discuss saving, investing, budgeting and money experiences to build smarter financial habits."/> 45 <meta name="twitter:image" content="https://moneybar.in/assets/frontend/image/logo.png?v=3"> 46 <link rel="manifest" href="https://moneybar.in/manifest.json?v=8"> <style> 47 body { 48 padding-bottom: 80px; 49 } 50 .home-tabul li { 51 margin-bottom: 5px; 52 } 53 .home-tabul li img { 54 width: 20px; 55 } 56 .last-hed-srcicon { 57 display: flex; 58 } 59 .mbimg { 60 width: 100%; 61 height: 400px; 62 } 63 .mbimg img { 64 width: 100%; 65 height: 100%; 66 object-fit: cover; 67 } 68 .flt{ 69 position: fixed; 70 bottom: 0; 71 z-index: 1 !important; 72 width: 100%; 73 } 74</style> 75<link href="https://moneybar.in/assets/frontend/swal/sweetalert.min.css" rel="stylesheet" type="text/css"> 76</head> 77 78<body class=" "> 79 <!-- Navbar --> 80 <section> 81 <header class="header"> 82 <nav class="navbar row"> 83 84 <div class="col-3 px-0"> 85 </div> 86 87 <div class="col-6 px-0"> 88 <a href="/"> 89 <img src="https://moneybar.in/assets/frontend/image/logo-mb.svg" class="img-fluid logo" alt="..."> 90 </a> 91 </div> 92 93 <div class="col-3 px-0"> 94 </div> 95 96 <div class="top-menu-wrapper"> 97 <ul class="top-menu"> 98 <li class="mob-block"> 99 <a class="" href="https://moneybar.in/assets/frontend/image/placeholder.png" data-lightbox="placeholder"> 100 <img src="https://moneybar.in/assets/frontend/image/placeholder.png" class="top-img-side"> 101 </a> 102 103 <div class="cent-text-nev"> 104 </div> 105 </li> 106 <!--<button aria-label="Close Mobile Menu" class="close-mobile-menu text-left"> 107 <i class="fa-solid fa-arrow-left"></i> 108 <i class="material-icons" aria-hidden="true"></i> 109 </button>--> 110 <li class=" "><a href="https://moneybar.in/home" ><img src="https://moneybar.in/assets/frontend/image/menu1.svg" class="icon-backds"> Home</a></li> 111 112 113 <!-- <li class="aslink"><a href="javascript:void(0)" ><img src="https://moneybar.in/assets/frontend/image/menu8.svg" class="icon-backds">Account Settings</a> <i class="fa-solid fa-caret-down"></i></li> 114 115 <li class="as-sub"><a href="https://moneybar.in/edit_profile"><img src="https://moneybar.in/assets/frontend/image/menu2.svg" class="icon-backds">Edit Profile</a></li> 116 <li class="as-sub"><a href="https://moneybar.in/change_password"><img src="https://moneybar.in/assets/frontend/image/menu4.svg" class="icon-backds">Change Password</a></li> 117 <li class="as-sub"><a href="https://moneybar.in/account_deactivation_request"><img src="https://moneybar.in/assets/frontend/image/menu2.svg" class="icon-backds">Manage Account</a></li> 118 <li class="as-sub as-sublink"><a href="javascript:void(0)" ><img src="https://moneybar.in/assets/frontend/image/menu8.svg" class="icon-backds">Language Setting</a> <i class="fa-solid fa-caret-down"></i></li> 119 <li class="as-sub-sub"><a href="javascript:void(0)" onclick="defaultlan()"><img src="https://moneybar.in/assets/frontend/image/menu8.svg" class="icon-backds">English</a></li> 120 <li class="as-sub-sub"><a href="#googtrans(en|hi)" class="lang-en lang-select" data-lang="hi"><img src="https://moneybar.in/assets/frontend/image/menu8.svg" class="icon-backds">Hindi</a></li> 121 122 123 <li class="tplink"><a href="javascript:void(0)"><img src="https://moneybar.in/assets/frontend/image/menu8.svg" class="icon-backds">Terms & Policies</a> <i class="fa-solid fa-caret-down"></i></li> 124 <li class="tp-sub"><a href="https://moneybar.in/about"><img src="https://moneybar.in/assets/frontend/image/menu6.svg" class="icon-backds">About Us</a></li> 125 <li class="tp-sub"><a href="https://moneybar.in/terms"><img src="https://moneybar.in/assets/frontend/image/menu8.svg" class="icon-backds">Terms & Conditions</a></li> 126 <li class="tp-sub"><a href="https://moneybar.in/privacy"><img src="https://moneybar.in/assets/frontend/image/menu7.svg" class="icon-backds">Privacy Policy</a></li> 127 128 <li><a href="https://moneybar.in/faq"><img src="https://moneybar.in/assets/frontend/image/menu8.svg" class="icon-backds">FAQ</a></li> 129 <li><a href="https://moneybar.in/contact"><img src="https://moneybar.in/assets/frontend/image/menu6.svg" class="icon-backds">Contact us</a></li> --> 130 131 <li class="hslink"><a href="javascript:void(0)"><img src="https://moneybar.in/assets/frontend/image/menu8.svg" class="icon-backds">Help & Settings</a> <i class="fa-solid fa-caret-down"></i></li> 132 133 <ul class="hs-sub mt-3"> 134 135 <li class="tplink"><a href="javascript:void(0)"><img src="https://moneybar.in/assets/frontend/image/menu8.svg" class="icon-backds">Terms & Policies</a> <i class="fa-solid fa-caret-down"></i></li> 136 137 <li class="tp-sub"><a href="https://moneybar.in/terms"><img src="https://moneybar.in/assets/frontend/image/menu8.svg" class="icon-backds">Terms & Conditions</a></li> 138 <li class="tp-sub"><a href="https://moneybar.in/privacy"><img src="https://moneybar.in/assets/frontend/image/menu7.svg" class="icon-backds">Privacy Policy</a></li> 139 140 <li><a href="https://moneybar.in/faq"><img src="https://moneybar.in/assets/frontend/image/menu8.svg" class="icon-backds">FAQ</a></li> 141 <li><a href="https://moneybar.in/about"><img src="https://moneybar.in/assets/frontend/image/menu6.svg" class="icon-backds">About Us</a></li> 142 <li><a href="https://moneybar.in/contact"><img src="https://moneybar.in/assets/frontend/image/menu6.svg" class="icon-backds">Contact us</a></li> 143 </ul> 144 145 <li class="mt-3"><a href="https://moneybar.in/auth/login"><img src="https://moneybar.in/assets/frontend/image/menu8.svg" class="icon-backds">LOGIN</a></li> 146 </ul> 147 <a href="javascript:void(0)" class="close-mobile-menu"></a> 148 </div> 149 </nav> 150 151 </header> 152 153</section> 154 155 156<!-- <li class="nav-item dropdown"><a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false"><img src="image/menu8.svg" class="icon-backds">Account Settings</a> 157 <ul class="dropdown-menu" aria-labelledby="navbarDropdown"> 158 <li><a class="dropdown-item" href="edit-profile.php"><img src="image/menu2.svg" class="icon-backds"> Edit Profile</a></li> 159 <li><a class="dropdown-item" href="change-password.php"><img src="image/menu4.svg" class="icon-backds"> Change Password</a></li> 160 </ul> 161 </li>--> 162 163 164<!-- <li class="nav-item dropdown"><a class="nav-link dropdown-toggle" href="#" id="navbarDropdown1" role="button" data-bs-toggle="dropdown" aria-expanded="false"><img src="image/menu8.svg" class="icon-backds">Terms & Policies</a> 165 <ul class="dropdown-menu" aria-labelledby="navbarDropdown1"> 166 <li><a class="dropdown-item" href="#"><img src="image/menu6.svg" class="icon-backds">About Us</a></li> 167 <li><a class="dropdown-item" href="#"><img src="image/menu8.svg" class="icon-backds">Terms & Conditions</a></li> 168 <li><a class="dropdown-item" href="#"><img src="image/menu7.svg" class="icon-backds">Privacy Policy</a></li> 169 </ul> 170 </li> --> 171 172<!-- Button trigger modal --> 173<!--<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#searchModal"> 174 Launch demo modal 175</button>--> 176 177<!-- Modal --> 178<div class="modal fade" id="searchModal" tabindex="-1" aria-labelledby="searchModalLabel" aria-hidden="true"> 179 <div class="modal-dialog modal-dialog-centered"> 180 <div class="modal-content"> 181 <div class="modal-header"> 182 <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> 183 </div> 184 <div class="modal-body"> 185 <form> 186 <input type="search" id="site-search" name="q"> 187 <button >Search</button> 188 </form> 189 </div> 190 </div> 191 </div> 192</div> 193
194<script> 195 const pageHeader = document.querySelector(".header"); 196 const openMobMenu = document.querySelector(".open-mobile-menu"); 197 const closeMobMenu = document.querySelector(".close-mobile-menu"); 198 const topMenuWrapper = document.querySelector(".top-menu-wrapper"); 199 const isVisible = "is-visible"; 200 const showOffCanvas = "show-offcanvas"; 201 const noTransition = "no-transition"; 202 let resize; 203 204 if (openMobMenu) { 205 openMobMenu.addEventListener("click", () => { 206 topMenuWrapper.classList.add(showOffCanvas); 207 }); 208 } 209 210 if (closeMobMenu) { 211 closeMobMenu.addEventListener("click", () => { 212 topMenuWrapper.classList.remove(showOffCanvas); 213 }); 214 } 215 216 window.addEventListener("resize", () => { 217 pageHeader.querySelectorAll("*").forEach(function(el) { 218 el.classList.add(noTransition); 219 }); 220 clearTimeout(resize); 221 resize = setTimeout(resizingComplete, 500); 222 }); 223 224 function resizingComplete() { 225 pageHeader.querySelectorAll("*").forEach(function(el) { 226 el.classList.remove(noTransition); 227 }); 228 } 229 230 function goBack() { 231 if (window.location.pathname == "/comment"){ 232 if (document.referrer === ""){ 233 window.location.replace("/"); 234 } 235 else{ 236 window.history.back(); 237 } 238 } 239 else{ 240 //javascript:history.go(-1) 241 window.location.replace("/"); 242 } 243 } 244 245</script>
245 246 <!-- Page-content --> 247 248<section> 249 <div class="row pt-2 flt"> 250 <div class="col-sm-12 px-0"> 251 <div class="head-ind text-center row"> 252 <div class="col-12"> 253 <!-- <p style="font-size: 14px;text-align: center;line-height: 1;text-transform: capitalize;">Join India's 1<sup>st</sup> Social Media Platform for Finance</p> --> 254 <!-- <img src="https://moneybar.in/assets/frontend/image/logo-black.svg" class="image-fluid"> --> 255 <!-- <p style="font-size: 14px;text-align: center;line-height: 1;text-transform: inherit;">Let's talk money!</p> --> 256 <a href="/auth/login" class="btn btn-Login">Log In</a> 257 </div> 258 </div> 259 </div> 260 </div> 261</section> 262 263<section class="home-btm"> 264 <div class="container"> 265 <div class="row home-scroll"> 266 <ul class="home-tabul"> 267 </ul> 268 </div> 269 <div class="row mx-0 mt-0" id="filtered_posts"> 270 271 </div> 272 <div id="loader" class="row px-0 text-center"><b><i class="fa fa-spinner fa-spin"></i></b></div> 273 </div> 274 </div> 275</section> 276<!-- Modal --> 277<div class="modal fade" id="commModal" tabindex="-1" aria-labelledby="commModalLabel" aria-hidden="true"> 278 <div class="modal-dialog modal-dialog-centered"> 279 <div class="modal-content"> 280 <div class="modal-header"> 281 <h3>Comment</h3> 282 <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> 283 </div> 284 <div class="modal-body"> 285 <form> 286 <input type="hidden" name="post_id" id="post_id" /> 287 <div class="row mx-0"> 288 <div class="form-group px-0"> 289 <textarea class="form-control commt-boxx" placeholder="" rows="2" name="comment" id="comment"></textarea> 290 <p class="text-danger" id="msg_comment"></p> 291 </div> 292 <div class="col-6 offset-3 mt-3 pe-0"> 293 <button type="button" class="btn-Login" onclick="add_comment()">POST</button> 294 </div> 295 </div> 296 </form> 297 <div id="show_comment"> 298 </div> 299 </div> 300 </div> 301 </div> 302</div> 303<input type="hidden" value="Hello World" id="myInput"> 304<!-- Modal --> 305<div class="modal fade" id="viewModal" tabindex="-1" aria-labelledby="viewModalLabel" aria-hidden="true"> 306 <div class="modal-dialog modal-dialog-centered"> 307 <div class="modal-content"> 308 <div class="modal-header"> 309 <h3>View Post</h3> 310 <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> 311 </div> 312 <div class="modal-body" id="show_view_post"> 313 </div> 314 </div> 315 </div> 316</div> 317<div class="soc-share"> 318 <div class="soc-shtop"> 319 </div> 320 <div class="soc-shbot"> 321 <h6 class="text-center">Share Post</h6> 322 <div class="shadir"><i class="far fa-envelope"></i> <span>Send via direct message</span></div> 323 <div id="show_share_link"> 324 </div> 325 <div class="sharbtn"> 326 <button class="soc-shtop">Cancel</button> 327 </div> 328 </div> 329 <div id="snackbar">Link Copied </div> 330</div> 331<div class="modal fade" id="viewreshareModal" tabindex="-1" aria-labelledby="viewModalLabel" aria-hidden="true"> 332 <div class="modal-dialog modal-dialog-centered"> 333 <div class="modal-content"> 334 <div class="modal-header"> 335 <h3>Reshared</h3> 336 <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> 337 </div> 338 <div class="modal-body"> 339 <div class="row sucess-right"> 340 <img src="https://moneybar.in/assets/frontend/image/right-arrow.png" class="img-fluid" /> 341 </div> 342 <div class="row"> 343 <div class="col-12 mt-3 mb-4 text-center"> 344 <p>Reshared Successfully!</p> 345 </div> 346 </div> 347 </div> 348 </div> 349 </div> 350</div> 351<div class="modal" id="modal_pwa" tabindex="-1"> 352 <div class="modal-dialog modal-dialog-scrollable modal-dialog-centered modal-sm"> 353 <div class="modal-content"> 354 <div class="modal-header"> 355 <h5 class="modal-title">Install App</h5> 356 <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close" onclick="functionToExecutex()"></button> 357 </div> 358 <div class="modal-body"> 359 <div class="row"> 360 <div class="col-12 px-3" style="padding: 15px 0px;"> 361 <div class="float-left" style="width: 50px; 362 float: left;"> 363 <img src="https://moneybar.in/assets/frontend/image/96.png" class="img-fluid" style="width: 50px; height: 50px;"> 364 </div> 365 <div class="float-left px-4" style="width: calc(100% - 50px); 366 float: left;"> 367 <h4 class="mb-0"><img src="https://moneybar.in/assets/frontend/image/appinstalllogo.png" class="img-fluid" style="width: 110px;"></h4> 368 <p class="">moneybar.in</p> 369 </div> 370 </div>
371 </div> 372 <p style="margin-bottom: 0px;"> 373 <button class="btn btn-primary w-100 rounded-pill" type="button" onclick="tInstall()"> 374 <i class="fa-solid fa-mobile-screen-button"></i> Install APP 375 </button> 376 </p> 377 </div> 378 <div class="modal-footer" style="display: block;text-align: center;"> 379 <button type="button" class="btn btn-secondary" data-bs-dismiss="modal" style="width: 100px;" onclick="functionToExecutex()">Close</button> 380 </div> 381 </div> 382 </div> 383</div> 384<div class="modal" id="modal_pwa_mob" tabindex="-1"> 385 <div class="modal-dialog modal-dialog-scrollable modal-dialog-centered modal-sm"> 386 <div class="modal-content"> 387 <div class="modal-header"> 388 <h5 class="modal-title">Install App</h5> 389 <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close" onclick="functionToExecute()"></button> 390 </div> 391 <div class="modal-body"> 392 <div class="row"> 393 <div class="col-12 px-3" style="padding: 15px 0px;"> 394 <div class="float-left" style="width: 50px; 395 float: left;"> 396 <img src="https://moneybar.in/assets/frontend/image/96.png" class="img-fluid" style="width: 50px; height: 50px;"> 397 </div> 398 <div class="float-left px-4" style="width: calc(100% - 50px); 399 float: left;"> 400 <h4 class="mb-0"><img src="https://moneybar.in/assets/frontend/image/appinstalllogo.png" class="img-fluid" style="width: 110px;"></h4> 401 <p class="">moneybar.in</p> 402 </div> 403 </div> 404 </div> 405 <p style="margin-bottom: 0px;"> 406 <h4>Install App</h4> 407 <h5>Use Safari Browser & Tap <img src="https://moneybar.in/assets/frontend/image/upload.png" height="20px" width="20px" style="display: initial;"> then "Add to Home Screen"</h5> 408 </p> 409 </div> 410 <div class="modal-footer" style="display: block;text-align: center;"> 411 <button type="button" class="btn btn-secondary" data-bs-dismiss="modal" style="width: 100px;" onclick="functionToExecute()">Close</button> 412 </div> 413 </div> 414 </div> 415</div> 416 417<div class="modal fade" id="appLaunchModal" tabindex="-1" aria-labelledby="appLaunchModalLabel" aria-hidden="true"> 418 <div class="modal-dialog"> 419 <div class="modal-content"> 420 <div class="modal-header"> 421 <h5 class="modal-title" id="appLaunchModalLabel">Moneybar App is Now Available!</h5> 422 </div> 423 <div class="model-body"> 424 <div class="row mb-3 mt-3"> 425 <p class="mb-1">Ready to experience something new? Download our freshly launched app now on Google Play and Apple App Store!</p> 426 <div class="row justify-content-center"> 427 <div class="col-4 mt-1"> 428 <a href="https://play.google.com/store/apps/details?id=app.moneybar.android" target="_blank"> 429 <img src="https://web.moneybar.in/googleplayblack.png" alt="Get it on Google Play" width="170" height="90"> 430 </a> 431 432 <br/> 433 <a href="https://apps.apple.com/in/app/moneybar/id6670706851" target="_blank"> 434 <img src="https://web.moneybar.in/applestoreblack.svg" alt="Download on AppStore"width="170" height="90"> 435 </a> 436 </div> 437 </div> 438 </div> 439 </div> 440 <div class="modal-footer"> 441 <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button> 442 </div> 443 </div> 444 </div> 445 </div> 446 447 <!-- End Page-content --> 448 449 <!-- Footer --> 450 451 <!-- Scripts --> 452
452<script src="https://moneybar.in/assets/frontend/js/jquery-3.1.1.min.js" crossorigin="anonymous"></script>
vendor: 1 bytes, line 452
452
453<script src="https://moneybar.in/assets/frontend/js/lightbox-plus-jquery.min.js" crossorigin="anonymous"></script>
vendor: 1 bytes, line 453
453
454<script src="https://moneybar.in/assets/frontend/js/loadingoverlay.min.js" crossorigin="anonymous"></script>
454 455 456
457<script src="https://moneybar.in/sw.js"></script>
vendor: 1 bytes, line 457
457
458<script> 459 // if (!navigator.serviceWorker.controller) { 460 // navigator.serviceWorker.register("/sw.js").then(function (reg) { 461 // console.log("Service worker has been registered for scope: " + reg.scope); 462 // }); 463 // } 464 $(document).ready(async function() { 465 if ('setAppBadge' in navigator) { 466 try { 467 await navigator.clearAppBadge(); 468 } catch (error) { 469 console.error('Failed to set app badge:', error); 470 } 471 } 472 }); 473 474</script>
474 475
476<script type="text/javascript"> 477 const myTimeout = setTimeout(splash, 2000); 478 function splash() { 479 $(".splash").fadeOut("slow"); 480 $("body").removeClass("splashact"); 481 } 482 $(document).ready(function() { 483 $(".hs-sub").toggle(); 484 $(".hslink a").click(function() { 485 $(".hs-sub").toggle(); 486 $(".as-sub").hide(); 487 $(".tp-sub").hide(); 488 $(".hslink").toggleClass("rot"); 489 $(".aslink").removeClass("rot"); 490 $(".tplink").removeClass("rot"); 491 }); 492 493 $(".aslink a").click(function() { 494 $(".as-sub").toggle(); 495 $(".tp-sub").hide(); 496 $(".as-sub-sub").hide(); 497 $(".aslink").toggleClass("rot"); 498 $(".tplink").removeClass("rot"); 499 $(".as-sublink").removeClass("rot"); 500 }); 501 502 $(".tplink a").click(function() { 503 $(".tp-sub").toggle(); 504 $(".as-sub").hide(); 505 $(".as-sub-sub").hide(); 506 $(".tplink").toggleClass("rot"); 507 $(".aslink").removeClass("rot"); 508 $(".as-sublink").removeClass("rot"); 509 }); 510 511 $(".as-sublink a").click(function() { 512 $(".as-sub-sub").toggle(); 513 $(".tp-sub").hide(); 514 $(".as-sublink").toggleClass("rot"); 515 // $(".aslink").removeClass("rot"); 516 // $(".tplink").removeClass("rot"); 517 }); 518 $(".open-mobile-menu").click(function() { 519 $(".close-mobile-menu").css("display", "block"); 520 $('body').addClass('bg-hide'); 521 }); 522 $(".close-mobile-menu").click(function() { 523 $(".close-mobile-menu").css("display", "none"); 524 $('body').removeClass('bg-hide'); 525 }); 526 }); 527 528 if (window.location.hash && window.location.hash == '#_=_') { 529 if (window.history && history.pushState) { 530 window.history.pushState("", document.title, window.location.pathname); 531 } else { 532 // Prevent scrolling by storing the page's current scroll offset 533 var scroll = { 534 top: document.body.scrollTop, 535 left: document.body.scrollLeft 536 }; 537 window.location.hash = ''; 538 // Restore the scroll offset, should be flicker free 539 document.body.scrollTop = scroll.top; 540 document.body.scrollLeft = scroll.left; 541 } 542 } 543 544setInterval(isOnlineChk,2000); 545function isOnlineChk(){ 546 547 $.ajax({ 548 type: "POST", 549 url: 'https://moneybar.in/isOnlineChk', 550 data: {}, 551 dataType: "json", 552 success: function (data) { 553 554 if(data.status == true){} 555 }, 556 error: function () { 557 return false; 558 } 559 }); 560 561} 562</script>
562 563 564<!--
564<script type="text/javascript" src="https://moneybar.in/assets/frontend/js/element.js?cb=googleTranslateElementInit"></script>
564 --> 565<!--
565<script type="text/javascript" src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
565 -->
566<script type="text/javascript" src="https://moneybar.in/assets/frontend/js/element2.js?cb=googleTranslateElementInit"></script>
vendor: 1 bytes, line 566
566
567<script type="text/javascript"> 568 function googleTranslateElementInit() { 569 570 new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.FloatPosition.TOP_LEFT}, 'google_translate_element'); 571 } 572 573 jQuery('.lang-select').click(function() { 574 var theLang = jQuery(this).attr('data-lang'); 575 jQuery('.goog-te-combo').val(theLang); 576 577 //alert(jQuery(this).attr('href')); 578 window.location = jQuery(this).attr('href'); 579 location.reload(); 580 581 }); 582 function setCookie(name,value,days) { 583 var expires = ""; 584 if (days) { 585 var date = new Date(); 586 date.setTime(date.getTime() + (days*24*60*60*1000)); 587 expires = "; expires=" + date.toUTCString(); 588 } 589 document.cookie = name + "=" + (value || "") + expires + "; path=/"; 590} 591function delete_cookie(name) { 592 //document.cookie = name +'=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;'; 593 document.cookie = name+'=; path=/; domain=.moneybar.in; expires=' + new Date(0).toUTCString(); 594 document.cookie = name+'=; path=/; domain=moneybar.in; expires=' + new Date(0).toUTCString(); 595} 596 function defaultlan(){ 597 delete_cookie('googtrans'); 598 setCookie('googtrans', '/en/en'); 599 var currURL= window.location.href; //get current address 600 var afterDomain= currURL.substring(currURL.lastIndexOf('/') + 1); 601 602 //2- get the part before '?' 603 var beforeQueryString= afterDomain.split("#")[0]; 604 605 //location.reload(); 606 window.location ='https://moneybar.in/'+beforeQueryString; 607 } 608</script>
vendor: 1 bytes, line 608
608
609<script type="text/javascript"> 610 $(document).ready(function() { 611 isNotiCount(); 612 }); 613setInterval(isNotiCount,5000); 614function isNotiCount(){ 615 616 $.ajax({ 617 type: "POST", 618 url: 'https://moneybar.in/isNotiCount', 619 data: {}, 620 dataType: "json", 621 success: function (data) { 622 623 if(data.status == true){ 624 if(data.count >0) 625 { 626 $('.noti-top-count').html(data.count); 627 628 $('.noti-top-count').show(); 629 } 630 if(data.unread_count >0){ 631 $('#main-noti').html('<span class="noti-chat-main">'+data.unread_count+'</span>'); 632 }else{ 633 $('#main-noti').html(''); 634 } 635 636 $.each(data.allUsers, function (key, value) { 637 if(value.unr_count >0){ 638 $('#noti_count'+value.id).html('<span>'+value.unr_count+'</span>'); 639 }else{ 640 $('#noti_count'+value.id).html(''); 641 } 642 643 }); 644 645 } 646 }, 647 error: function () { 648 return false; 649 } 650 }); 651} 652//document.addEventListener('contextmenu', event => event.preventDefault()); 653 654function logoutpop(){ 655 $('#logoutModal').modal('show'); 656} 657function logoutpoplog(){ 658 window.location.href = "https://moneybar.in/auth/logout"; 659} 660/*document.addEventListener("visibilitychange", () => { 661 const state = document.visibilityState; 662 if (state === "hidden") { 663 664 } 665 666 if (state === "visible") { 667 // your PWA is now in the foreground 668 //alert('visible'); 669 refreshData(); 670 } 671}); 672function refreshData(){ 673 $.ajax({ 674 type: "POST", 675 url: 'https://moneybar.in/notireset', 676 data: {}, 677 dataType: "json", 678 success: function (data) { 679 navigator.setAppBadge(0); 680 }, 681 error: function () { 682 return false; 683 } 684 }); 685}*/ 686</script>
686 687
688<script type="module" src="https://moneybar.in/assets/frontend/js/firebase.js?v=9"></script>
688
688<script src="https://moneybar.in/assets/frontend/swal/sweetalert.min.js?v=1"></script>
vendor: 1 bytes, line 688
688
689<script> 690 var isLoggedIn = false; 691 function get_posts_by_filter(interest_id, paginate) { 692 $.ajax({ 693 url: 'https://moneybar.in/post/filtered_posts?page=' + paginate, 694 method: 'post', 695 data: { 696 interest_id: interest_id 697 }, 698 headers: { 699 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 700 }, 701 dataType: 'json', 702 beforeSend: function() { 703 // $('#filtered_posts').LoadingOverlay("show", { 704 // image : "", 705 // fontawesome : "fa fa-spinner fa-spin", 706 // }); 707 $('#loader').show(); 708 }, 709 success: function(result) { 710 // $('#filtered_posts').LoadingOverlay("hide"); 711 $('#loader').hide(); 712 if (result.html !== '') { 713 $('#filtered_posts').append(result.html); 714 getslide(); 715 //text_readmore(); 716 } else { 717 autoLoad = false; 718 $('#filtered_posts').append('<div class="col-md-12 px-0 text-center"><b><i>No post here.</i></b></div>'); 719 } 720 721 if(result.success == false){ 722 autoLoad = false; 723 } 724 725 isLoading = false; 726 }, 727 error: function(xhr){ 728 console.log(xhr.status); 729 if (xhr.status == 401) { 730 //window.location.href = '/auth/login'; 731 autoLoad = false; 732 isLoading = false; 733 $('#loader').hide(); 734 $('#filtered_posts').append('<div class="text-center row pt-2 px-3"><p>Login to view more posts...</p></div><br/><br/><br/><br/><span><br/><span>'); 735 736 } 737 } 738 }); 739 } 740 $(document).on('click', '.intFilter', function() { 741 $('#filtered_posts').html('') 742 autoLoad = true; 743 interest_id = $(this).attr('data-val'); 744 paginate = 1; 745 get_posts_by_filter(interest_id, paginate); 746 }); 747 $(document).ready(function() { 748 //tokennoti(); 749 //setInterval(tokennoti, 5000); 750 //get_posts_by_filter('all', 1); 751 }); 752</script>
vendor: 1 bytes, line 752
752
753<script type="text/javascript"> 754 var paginate = 1; 755 var interest_id = 'all'; 756 var autoLoad = true; 757 var isLoading = false; 758 //$('#filtered_posts').html(''); 759 760 if ($('#filtered_posts').children().length == 0 && !history.state) { 761 get_posts_by_filter(interest_id, paginate); 762 sessionStorage.setItem('homePosition', paginate); 763 sessionStorage.setItem('homeFilter', interest_id); 764 } 765 766 var homePosition = sessionStorage.getItem('homePosition'); 767 if (homePosition){ 768 paginate = homePosition; 769 } 770 771 var homeFilter = sessionStorage.getItem('homeFilter'); 772 if (homeFilter){ 773 interest_id = homeFilter; 774 } 775 776 window.addEventListener('scroll', () => { 777 const { 778 scrollTop, 779 scrollHeight, 780 clientHeight 781 } = document.documentElement; 782 783 //if ($(window).scrollTop() + $(window).height() == $(document).height() && autoLoad == true && isLoading == false){ 784 if (scrollTop + clientHeight >= scrollHeight - 50 && autoLoad == true && isLoading == false){ 785 //console.log('scroll event: paginate: ' + paginate); 786 isLoading = true; 787 paginate++; 788 get_posts_by_filter(interest_id, paginate); 789 790 } 791 }, {passive: true}); 792 793 // $(window).scroll(function() { 794 // if($(window).scrollTop() + $(window).height() >= $(document).height() - 5 && autoLoad == true) { 795 // paginate++; 796 // get_posts_by_filter(interest_id, paginate); 797 // } 798 // }); 799</script>
vendor: 1 bytes, line 799
799
800<script type="text/javascript"> 801 $.ajaxSetup({ 802 headers: { 803 'X-CSRF-TOKEN': $('[name="csrf-token"]').attr('content') 804 } 805 }); 806 const LIKE_ICON_ACTIVE = "https://moneybar.in/assets/frontend/image/like.svg"; 807 const LIKE_ICON_INACTIVE = "https://moneybar.in/assets/frontend/image/like-neutral.svg"; 808 const DISLIKE_ICON_ACTIVE = "https://moneybar.in/assets/frontend/image/dislike.svg"; 809 const DISLIKE_ICON_INACTIVE = "https://moneybar.in/assets/frontend/image/dislike-neutral.svg"; 810 811 function syncReactionIcons(id) { 812 const likeEl = $("#like_act" + id); 813 if (likeEl.length) { 814 likeEl.find("img").attr("src", likeEl.hasClass("active") ? LIKE_ICON_ACTIVE : LIKE_ICON_INACTIVE); 815 } 816 const dislikeEl = $("#dislike_act" + id); 817 if (dislikeEl.length) { 818 dislikeEl.find("img").attr("src", dislikeEl.hasClass("active") ? DISLIKE_ICON_ACTIVE : DISLIKE_ICON_INACTIVE); 819 } 820 } 821 function post_like(id) { 822 if (!isLoggedIn) { 823 swal({ 824 title: "", 825 text: 'Please log in to react to this post', 826 type: "", 827 showCancelButton: true, 828 confirmButtonColor: "#ff9b44", 829 confirmButtonText: "Log in", 830 closeOnConfirm: true, 831 }, function(isConfirm) { 832 if (isConfirm) { 833 window.location.href = '/auth/login'; 834 } 835 }); 836 } else { 837 var token = $("meta[name='csrf-token']").attr("content"); 838 $.ajax({ 839 type: "POST", 840 url: "https://moneybar.in/post_like", 841 dataType: "json", 842 data: { 843 "id": id 844 }, 845 success: function(response) { 846 if (response.status == 1) { 847 $('#like_count' + id).html(response.posts_like); 848 $('#dislike_count' + id).html(response.posts_dislike); 849 $("#dislike_act" + id).removeClass("active"); 850 $("#like_act" + id).addClass("active"); 851 syncReactionIcons(id); 852 } else { 853 $('#like_count' + id).html(response.posts_like); 854 $('#dislike_count' + id).html(response.posts_dislike); 855 $("#like_act" + id).removeClass("active"); 856 syncReactionIcons(id); 857 } 858 } 859 }); 860 } 861 } 862 function post_dislike(id) { 863 if (!isLoggedIn) { 864 swal({ 865 title: "", 866 text: 'Please log in to react to this post', 867 type: "", 868 showCancelButton: true, 869 confirmButtonColor: "#ff9b44", 870 confirmButtonText: "Log in", 871 closeOnConfirm: true, 872 }, function(isConfirm) { 873 if (isConfirm) { 874 window.location.href = '/auth/login'; 875 } 876 }); 877 } else { 878 var token = $("meta[name='csrf-token']").attr("content"); 879 $.ajax({ 880 type: "POST", 881 url: "https://moneybar.in/post_dislike", 882 dataType: "json", 883 data: { 884 "id": id 885 }, 886 success: function(response) { 887 if (response.status == 1) { 888 $('#like_count' + id).html(response.posts_like); 889 $('#dislike_count' + id).html(response.posts_dislike); 890 $("#like_act" + id).removeClass("active"); 891 $("#dislike_act" + id).addClass("active"); 892 syncReactionIcons(id); 893 } else { 894 $('#like_count' + id).html(response.posts_like); 895 $('#dislike_count' + id).html(response.posts_dislike); 896 $("#dislike_act" + id).removeClass("active"); 897 syncReactionIcons(id); 898 } 899 } 900 }); 901 } 902 } 903 function post_reshare(id) { 904 if (!isLoggedIn) { 905 swal({ 906 title: "", 907 text: 'Please log in to reshare this post', 908 type: "", 909 showCancelButton: true, 910 confirmButtonColor: "#ff9b44", 911 confirmButtonText: "Log in", 912 closeOnConfirm: true, 913 }, function(isConfirm) { 914 if (isConfirm) { 915 window.location.href = '/auth/login'; 916 } 917 }); 918 } else { 919 swal({ 920 title: "", 921 text: 'Do you want to reshare ?', 922 type: "", 923 showCancelButton: true, 924 confirmButtonColor: "#ff9b44", 925 confirmButtonText: "Reshare", 926 cancelButtonText: "No", 927 closeOnConfirm: true, 928 closeOnCancel: true 929 }, function(isConfirm) { 930 if (isConfirm) { 931 var token = $("meta[name='csrf-token']").attr("content"); 932 $.ajax({ 933 type: "POST", 934 url: "https://moneybar.in/post_reshare", 935 dataType: "json", 936 data: { 937 "id": id 938 }, 939 success: function(response) { 940 if (response.status == 1) { 941 $('#reshare_count' + id).html(response.reshare); 942 $("#reshare_act" + id).addClass("active"); 943 $('#viewreshareModal').modal('show'); 944 setTimeout(function() { 945 $('#viewreshareModal').modal('hide'); 946 }, 3000); 947 } 948 } 949 }); 950 } 951 }); 952 } 953 } 954 955 function post_comment(id) { 956 if (!isLoggedIn) { 957 swal({ 958 title: "", 959 text: 'Please log in to comment on this post', 960 type: "", 961 showCancelButton: true, 962 confirmButtonColor: "#ff9b44", 963 confirmButtonText: "Log in", 964 closeOnConfirm: true, 965 }, function(isConfirm) { 966 if (isConfirm) { 967 window.location.href = '/auth/login'; 968 } 969 }); 970 } else { 971 var token = $("meta[name='csrf-token']").attr("content"); 972 $.ajax({ 973 type: "POST", 974 url: "https://moneybar.in/post_comment", 975 dataType: "json", 976 data: { 977 "id": id 978 }, 979 success: function(response) { 980 if (response.status == 1) { 981 $('#post_id').val(id); 982 $('#show_comment').html(response.html_comm); 983 $('#commModal').modal('show'); 984 } 985 } 986 }); 987 } 988 } 989 function add_comment() { 990 $('#msg_comment').html(''); 991 var comment = $('#comment').val(); 992 var post_id = $('#post_id').val(); 993 if (comment != '') { 994 var token = $("meta[name='csrf-token']").attr("content"); 995 $.ajax({ 996 type: "POST", 997 url: "https://moneybar.in/do_post_comment", 998 dataType: "json", 999 data: { 1000 "post_id": post_id, 1001 "comment": comment 1002 }, 1003 success: function(response) { 1004 if (response.status == 1) { 1005 $('#comment').val(''); 1006 $('#show_comment').html(response.html_comm); 1007 $('#comment_count' + post_id).html(response.comment_count); 1008 $("#comment_act" + post_id).addClass("active"); 1009 } else { 1010 $('#msg_comment').html(response.msg); 1011 } 1012 } 1013 }); 1014 } else { 1015 $('#msg_comment').html('Comment field is require'); 1016 } 1017 } 1018 function video_play(id) { 1019 $('#mbvideo' + id).toggleClass("active"); 1020 } 1021 function audio_play(id) { 1022 $('#mbaudio' + id).toggleClass("active"); 1023 } 1024 function view_post(id) { 1025 var token = $("meta[name='csrf-token']").attr("content"); 1026 $.ajax({ 1027 type: "POST", 1028 url: "https://moneybar.in/view_post", 1029 dataType: "json", 1030 data: { 1031 "id": id 1032 }, 1033 success: function(response) { 1034 if (response.status == 1) { 1035 $('#show_view_post').html(response.html_comm); 1036 $('#viewModal').modal('show'); 1037 } 1038 } 1039 }); 1040 } 1041 function decodeHTMLEntities(text) { 1042 var entities = [ 1043 ['amp', '&'], 1044 ['apos', '\''], 1045 ['#x27', '\''], 1046 ['#x2F', '/'], 1047 ['#39', '\''], 1048 ['#47', '/'], 1049 ['lt', '<'], 1050 ['gt', '>'], 1051 ['nbsp', ' '], 1052 ['quot', '"'] 1053 ]; 1054 for (var i = 0, max = entities.length; i < max; ++i) 1055 text = text.replace(new RegExp('&' + entities[i][0] + ';', 'g'), entities[i][1]); 1056 return text; 1057 } 1058 function post_share(type, id, name) { 1059 if (!isLoggedIn) { 1060 swal({ 1061 title: "", 1062 text: 'Please log in to share this post', 1063 type: "", 1064 showCancelButton: true, 1065 confirmButtonColor: "#ff9b44", 1066 confirmButtonText: "Log in", 1067 closeOnConfirm: true, 1068 }, function(isConfirm) { 1069 if (isConfirm) { 1070 window.location.href = '/auth/login'; 1071 } 1072 }); 1073 } else { 1074 //var name=decodeHTMLEntities(name); 1075 if (type == 'google') { 1076 var token = $("meta[name='csrf-token']").attr("content"); 1077 $.ajax({ 1078 type: "POST", 1079 url: "https://moneybar.in/post_share", 1080 dataType: "json", 1081 data: { 1082 "type": type, 1083 "id": id 1084 }, 1085 success: function(response) { 1086 if (response.status == 1) { 1087 $('#share_count' + id).html(response.share_count); 1088 var url1 = "https://moneybar.in/comment?id=" + id; 1089 var bodytext = "Check out this site " + url1; 1090 //var url="mailto:?subject=" + encodeURIComponent(name) + "&body=" + encodeURIComponent(bodytext); 1091 var url = "mailto:?subject=post&body=" + encodeURIComponent(bodytext); 1092 window.location = url; 1093 } 1094 } 1095 }); 1096 return false;
1097 } else if (type == 'facebook') { 1098 var token = $("meta[name='csrf-token']").attr("content"); 1099 $.ajax({ 1100 type: "POST", 1101 url: "https://moneybar.in/post_share", 1102 dataType: "json", 1103 data: { 1104 "type": type, 1105 "id": id 1106 }, 1107 success: function(response) { 1108 if (response.status == 1) { 1109 $('#share_count' + id).html(response.share_count); 1110 var url1 = "https://moneybar.in/comment?id=" + id; 1111 var url = "https://www.facebook.com/sharer/sharer.php?u=" + url1 + "&t=" + name; 1112 window.open(url, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600'); 1113 } 1114 } 1115 }); 1116 return false; 1117 } else if (type == 'twitter') { 1118 var token = $("meta[name='csrf-token']").attr("content"); 1119 $.ajax({ 1120 type: "POST", 1121 url: "https://moneybar.in/post_share", 1122 dataType: "json", 1123 data: { 1124 "type": type, 1125 "id": id 1126 }, 1127 success: function(response) { 1128 if (response.status == 1) { 1129 $('#share_count' + id).html(response.share_count); 1130 var url1 = "https://moneybar.in/comment?id=" + id; 1131 var url = "https://twitter.com/intent/tweet?url=" + url1 + "&via=getboldify&text=" + name; 1132 TwitterWindow = window.open(url, 'TwitterWindow', width = 600, height = 300); 1133 } 1134 } 1135 }); 1136 return false; 1137 } else if (type == 'whatsapp') { 1138 var token = $("meta[name='csrf-token']").attr("content"); 1139 $.ajax({ 1140 type: "POST", 1141 url: "https://moneybar.in/post_share", 1142 dataType: "json", 1143 data: { 1144 "type": type, 1145 "id": id 1146 }, 1147 success: function(response) { 1148 if (response.status == 1) { 1149 $('#share_count' + id).html(response.share_count); 1150 //var url1="https://moneybar.in/home"; 1151 var url1 = "https://moneybar.in/comment?id=" + id; 1152 //var message = encodeURIComponent(name) + " - " + encodeURIComponent(url1); 1153 var message = encodeURIComponent(url1); 1154 var url = "whatsapp://send?text=" + message; 1155 window.open(url, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600'); 1156 } 1157 } 1158 }); 1159 return false; 1160 } else if (type == 'linkedin') { 1161 var token = $("meta[name='csrf-token']").attr("content"); 1162 $.ajax({ 1163 type: "POST", 1164 url: "https://moneybar.in/post_share", 1165 dataType: "json", 1166 data: { 1167 "type": type, 1168 "id": id 1169 }, 1170 success: function(response) { 1171 if (response.status == 1) { 1172 $('#share_count' + id).html(response.share_count); 1173 //var url1="https://moneybar.in/home"; 1174 var url1 = "https://moneybar.in/comment?id=" + id; 1175 var url = "https://www.linkedin.com/shareArticle?url=" + url1 + "&title=" + name; 1176 window.open(url, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600'); 1177 } 1178 } 1179 }); 1180 return false; 1181 } else if (type == 'telegram') { 1182 var token = $("meta[name='csrf-token']").attr("content"); 1183 $.ajax({ 1184 type: "POST", 1185 url: "https://moneybar.in/post_share", 1186 dataType: "json", 1187 data: { 1188 "type": type, 1189 "id": id 1190 }, 1191 success: function(response) { 1192 if (response.status == 1) { 1193 $('#share_count' + id).html(response.share_count); 1194 //var url1="https://moneybar.in/home"; 1195 var url1 = "https://moneybar.in/comment?id=" + id; 1196 var url = "https://telegram.me/share/url?url=" + url1 + "&text=" + name; 1197 window.open(url, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600'); 1198 } 1199 } 1200 }); 1201 return false; 1202 } else if (type == 'copy') { 1203 var url1 = "https://moneybar.in/comment?id=" + id; 1204 $('#myInput').val(url1); 1205 var token = $("meta[name='csrf-token']").attr("content"); 1206 $.ajax({ 1207 type: "POST", 1208 url: "https://moneybar.in/post_share", 1209 dataType: "json", 1210 data: { 1211 "type": type, 1212 "id": id 1213 }, 1214 success: function(response) { 1215 if (response.status == 1) { 1216 $('#share_count' + id).html(response.share_count); 1217 var copyText = document.getElementById("myInput"); 1218 copyText.type = 'text'; 1219 /* Select the text field */ 1220 copyText.select(); 1221 copyText.setSelectionRange(0, 99999); /* For mobile devices */ 1222 /* Copy the text inside the text field */ 1223 navigator.clipboard.writeText(copyText.value); 1224 copyText.type = 'hidden'; 1225 $("#snackbar").addClass("show"); 1226 setTimeout(function() { 1227 $("#snackbar").removeClass("show") 1228 }, 2000); 1229 } 1230 } 1231 }); 1232 return false;
1233 } else if (type == 'moneybar') { 1234 var token = $("meta[name='csrf-token']").attr("content"); 1235 $.ajax({ 1236 type: "POST", 1237 url: "https://moneybar.in/post_share", 1238 dataType: "json", 1239 data: { 1240 "type": type, 1241 "id": id 1242 }, 1243 success: function(response) { 1244 if (response.status == 1) { 1245 var link_mon = "https://moneybar.in/chat?id=" + id; 1246 window.location.href = link_mon; 1247 } 1248 } 1249 }); 1250 return false; 1251 } 1252 } 1253 } 1254 function data_delete(id) { 1255 //var id = $(this).data('id'); 1256 swal({ 1257 title: "Delete.", 1258 text: 'Are you sure you want to Delete this Post ??', 1259 type: "warning", 1260 showCancelButton: true, 1261 confirmButtonColor: "#ff9b44", 1262 confirmButtonText: "Yes", 1263 cancelButtonText: "No", 1264 closeOnConfirm: true, 1265 closeOnCancel: true 1266 }, function(isConfirm) { 1267 if (isConfirm) { 1268 var token = $("meta[name='csrf-token']").attr("content"); 1269 $.ajax({ 1270 type: "DELETE", 1271 url: 'https://moneybar.in/post/' + id, 1272 dataType: "json", 1273 data: { 1274 "id": id 1275 }, 1276 success: function(response) { 1277 if (response.status == true) { 1278 //$( "#remove"+id).remove(); 1279 location.reload(); 1280 } else { 1281 alert("Error ! Data not deleted!"); 1282 } 1283 } 1284 }); 1285 } else { 1286 //alert("GGG"); 1287 } 1288 }); 1289 } 1290 function htmlEntities(str) { 1291 return String(str).replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"'); 1292 } 1293 function getshare(id, des) { 1294 des = des.replace(/'/g, "\\'"); 1295 des = htmlEntities(des); 1296 var link_google = "post_share('google'," + id + ",'" + des + "')"; 1297 var link_facebook = "post_share('facebook'," + id + ",'" + des + "')"; 1298 var link_twitter = "post_share('twitter'," + id + ",'" + des + "')"; 1299 var link_whatsapp = "post_share('whatsapp'," + id + ",'" + des + "')"; 1300 var link_linkedin = "post_share('linkedin'," + id + ",'" + des + "')"; 1301 var link_telegram = "post_share('telegram'," + id + ",'" + des + "')"; 1302 var link_copy = "post_share('copy'," + id + ",'" + des + "')"; 1303 var link_moneybar = "post_share('moneybar'," + id + ",'" + des + "')"; 1304 var soc11 = "https://moneybar.in/assets/frontend/image/soc11.png"; 1305 var soc1 = "https://moneybar.in/assets/frontend/image/soc1.png"; 1306 var soc2 = "https://moneybar.in/assets/frontend/image/soc2.png"; 1307 var soc3 = "https://moneybar.in/assets/frontend/image/soc3.png"; 1308 var soc4 = "https://moneybar.in/assets/frontend/image/soc4.png"; 1309 var soc5 = "https://moneybar.in/assets/frontend/image/soc5.png"; 1310 var soc6 = "https://moneybar.in/assets/frontend/image/soc6.png"; 1311 var link_mon = "https://moneybar.in/chat?id=" + id; 1312 var html = '<div class="shartop"><ul><li><a href="javascript:void(0)" onclick="' + link_copy + '"><i class="fas fa-link"></i></a><p>Copy Link</p></li></ul></div><div class="sharbot"><ul><li><a href="javascript:void(0)" onclick="' + link_moneybar + '"><img src="' + soc11 + '" class="img-fluid" /></a><p>Moneybar</p></li><li><a href="javascript:void(0)" onclick="' + link_google + '"><img src="' + soc1 + '" class="img-fluid" /></a><p>Mail</p></li><li><a href="javascript:void(0)" onclick="' + link_facebook + '"><img src="' + soc2 + '" class="img-fluid" /></a><p>Facebook</p></li><li><a href="javascript:void(0)" onclick="' + link_twitter + '"><img src="' + soc3 + '" class="img-fluid" /></a><p>Twitter</p></li><li><a href="javascript:void(0)" onclick="' + link_whatsapp + '"><img src="' + soc4 + '" class="img-fluid" /></a><p>Whatsapp</p></li><li><a href="javascript:void(0)" onclick="' + link_linkedin + '"><img src="' + soc5 + '" class="img-fluid" /></a><p>Linkedin</p></li><li><a href="javascript:void(0)" onclick="' + link_telegram + '"><img src="' + soc6 + '" class="img-fluid" /></a><p>Telegram</p></li></ul> </div>'; 1313 $('#show_share_link').html(html); 1314 $(".soc-share").toggle(); 1315 $("body").toggleClass("active"); 1316 $("body").toggleClass("share-hidden"); 1317 } 1318 $(".soc-shtop").click(function() { 1319 $(".soc-share").hide(); 1320 $("body").removeClass("active"); 1321 $("body").removeClass("share-hidden"); 1322 }); 1323</script>
vendor: 1 bytes, line 1323
1323
1324<script type="text/javascript"> 1325 function getimg() { 1326 $('#formimg').submit() 1327 } 1328 function getvideo() { 1329 $('#formimg1').submit() 1330 } 1331 function getaudio() { 1332 $('#formimg2').submit() 1333 } 1334 function DesClick(id) { 1335 window.location.href = "https://moneybar.in/comment?id=" + id; 1336 } 1337</script>
vendor: 1 bytes, line 1337
1337
1338<script src="https://moneybar.in/assets/frontend/js/script.js"></script>
vendor: 1 bytes, line 1338
1338
1339<script src="//cdnjs.cloudflare.com/ajax/libs/jquery.touchswipe/1.6.4/jquery.touchSwipe.min.js"></script>
vendor: 1 bytes, line 1339
1339
1340<script type="text/javascript"> 1341 function getslide() { 1342 $(".carousel").swipe({ 1343 swipe: function(event, direction, distance, duration, fingerCount, fingerData) { 1344 if (direction == 'left') $(this).carousel('next'); 1345 if (direction == 'right') $(this).carousel('prev'); 1346 }, 1347 allowPageScroll: "vertical" 1348 }); 1349 } 1350 function clicklink() { 1351 alert("The paragraph was clicked."); 1352 return false; 1353 } 1354 $(document).on('click', '.content_all', function(e) { 1355 var id = $(this).attr('seq'); 1356 var resh = $(this).attr('datareshare'); 1357 var post_id = $(this).attr('reshare_id'); 1358 var sdf = e.target.tagName; 1359 if (sdf == 'A') { 1360 var href = $(e.target).attr('href'); 1361 } else { 1362 if (post_id == 0) { 1363 window.location.href = "https://moneybar.in/comment?id=" + id; 1364 } else { 1365 window.location.href = "https://moneybar.in/comment?id=" + post_id; 1366 } 1367 } 1368 }); 1369</script>
vendor: 1 bytes, line 1369
1369
1370<script type="text/javascript"> 1371 function post_like_user(id) { 1372 var linkset = $('#like_count' + id).html(); 1373 linkset = parseInt(linkset); 1374 if (linkset > 0) { 1375 window.location.href = "https://moneybar.in/post_like_user?id=" + id; 1376 } else { 1377 } 1378 } 1379 function post_dislike_user(id) { 1380 var linkset = $('#dislike_count' + id).html(); 1381 linkset = parseInt(linkset); 1382 if (linkset > 0) { 1383 window.location.href = "https://moneybar.in/post_dislike_user?id=" + id; 1384 } else { 1385 } 1386 } 1387</script>
vendor: 1 bytes, line 1387
1387
1388<script type="text/javascript"> 1389 if (window.matchMedia('(display-mode: standalone)').matches) { 1390 //alert("This is running as standalone."); 1391 } else { 1392 var sd = navigator.userAgent.match(/iPhone|iPad|iPod/i); 1393 if (sd == 'iPhone' || sd == 'iPad' || sd == 'iPod') { 1394 setTimeout(function() { 1395 var hours = 120; // Reset when storage is more than 24hours 1396 var now = new Date().getTime(); 1397 var setupTime = localStorage.getItem('setupTime'); 1398 //alert(setupTime); 1399 if (now - setupTime > 600000) { 1400 // disable pwa-install alert by mehul 1401 //$("#modal_pwa_mob").show(); 1402 } 1403 // if(localStorage.getItem('popState') != 'shown'){ 1404 // jQuery("#myModal_mob").show(); 1405 // } 1406 }, 2000); 1407 } 1408 } 1409</script>
vendor: 1 bytes, line 1409
1409
1410<script type="text/javascript"> 1411 window.addEventListener('beforeinstallprompt', (e) => { 1412 // Prevent Chrome 67 and earlier from automatically showing the prompt 1413 e.preventDefault(); 1414 // Stash the event so it can be triggered later. 1415 /* */ 1416 const dp = getPWADisplayMode() 1417 //console.log(dp) 1418 // $('#acessando_em').html(dp) 1419 // 1420 if (dp == 'browser') { 1421 var status = 1; 1422 // Prevent Chrome 67 and earlier from automatically showing the prompt 1423 // Stash the event so it can be triggered later. 1424 deferredPrompt = e; 1425 var status = 0; 1426 setTimeout(function() { 1427 //localStorage.clear(); 1428 var hours = 120; // Reset when storage is more than 24hours 1429 var now = new Date().getTime(); 1430 var setupTime = localStorage.getItem('setupTime'); 1431 if (now - setupTime > 600000) { 1432 // disable pwa-install alert by mehul 1433 //$('#modal_pwa').modal('show'); 1434 } 1435 // if(localStorage.getItem('popState') != 'shown'){ 1436 // jQuery("#myModal_mob_adnroid").show(); 1437 // } 1438 }, 2000); 1439 } 1440 }); 1441 function getPWADisplayMode() { 1442 const isStandalone = window.matchMedia('(display-mode: standalone)').matches; 1443 if (document.referrer.startsWith('android-app://')) { 1444 return 'twa'; 1445 } else if (navigator.standalone || isStandalone) { 1446 return 'standalone'; 1447 } 1448 return 'browser'; 1449 } 1450 1451 window.addEventListener('DOMContentLoaded', () => { 1452 let previousDisplayMode = localStorage.getItem('displayMode'); 1453 let displayMode = 'browser'; 1454 if (window.matchMedia('(display-mode: standalone)').matches) { 1455 displayMode = 'standalone'; 1456 } 1457 if (displayMode != previousDisplayMode){ 1458 $.ajax({ 1459 url: "https://moneybar.in/update_display_mode", 1460 type: 'POST', 1461 data: { 1462 displayMode: displayMode 1463 }, 1464 success: function(response) { 1465 localStorage.setItem('displayMode', displayMode); 1466 }, 1467 error: function(error) { 1468 1469 } 1470 }); 1471 } 1472 }); 1473 1474 function hasSeenModalToday() { 1475 const lastSeenDate = localStorage.getItem('lastSeenModalDate'); 1476 const todayDate = new Date().toISOString().split('T')[0]; 1477 return lastSeenDate === todayDate; 1478 } 1479 1480 function showAppLaunchModal() { 1481 // if (!hasSeenModalToday()) { 1482 // const modal = new bootstrap.Modal(document.getElementById('appLaunchModal')); 1483 // modal.show(); 1484 // localStorage.setItem('lastSeenModalDate', new Date().toISOString().split('T')[0]); 1485 // } 1486 if (isLoggedIn){ 1487 const modal = new bootstrap.Modal(document.getElementById('appLaunchModal')); 1488 modal.show(); 1489 } 1490 } 1491 1492 document.addEventListener('DOMContentLoaded', showAppLaunchModal); 1493</script>
vendor: 1 bytes, line 1493
1493
1494<script src="https://moneybar.in/assets/frontend/js/install-app.js"></script>
vendor: 1 bytes, line 1494
1494
1495<script type="text/javascript"> 1496 $(function() { 1497 $.ajaxSetup({ 1498 headers: { 1499 'X-CSRF-TOKEN': $('[name="csrf-token"]').attr('content') 1500 } 1501 }); 1502 }); 1503 function functionToExecute() { 1504 jQuery('#modal_pwa_mob').hide(); 1505 localStorage.setItem('popState', 'shown'); 1506 var now = new Date().getTime(); 1507 localStorage.setItem('setupTime', now); 1508 } 1509 function functionToExecutex() { 1510 jQuery('#modal_pwa').hide(); 1511 localStorage.setItem('popState', 'shown'); 1512 var now = new Date().getTime(); 1513 localStorage.setItem('setupTime', now); 1514 } 1515 function readmoreonclick(id) { 1516 $('#showpost' + id).hide(); 1517 $('#showhidepost' + id).show(); 1518 } 1519 function readlessonclick(id) { 1520 $('#showhidepost' + id).hide(); 1521 $('#showpost' + id).show(); 1522 } 1523 var BASE_URL = "https://moneybar.in"; 1524</script>
vendor: 1 bytes, line 1524
1524
1525<script> 1526 $(window).on('beforeunload', function() { 1527 var scrollPosition = $(document).scrollTop(); 1528 sessionStorage.setItem('scrollPosition', scrollPosition); 1529 sessionStorage.setItem('posts', $('#filtered_posts').html()); 1530 sessionStorage.setItem('unique', history.state.unique); 1531 sessionStorage.setItem('homePosition', paginate); 1532 sessionStorage.setItem('homeFilter', interest_id); 1533 }); 1534 1535 $(window).on('load', function() { 1536 if (sessionStorage.scrollPosition && sessionStorage.posts) { 1537 // Check if the previous entry in the history stack is from your site and has the same unique state object 1538 if (history.state && history.state.fromSite && history.state.unique == sessionStorage.getItem('unique')) { 1539 $('#filtered_posts').html(sessionStorage.getItem('posts')); 1540 $(document).scrollTop(sessionStorage.getItem('scrollPosition')); 1541 autoLoad == false; 1542 } else { 1543 // Clear sessionStorage for fresh content on self-refresh 1544 sessionStorage.clear(); 1545 } 1546 } 1547 }); 1548 1549 function DesClick1(id) { 1550 history.pushState({ fromSite: true, unique: Date.now() }, ''); 1551 } 1552</script>
1552 1553
1553<script> 1554 $(document).ready(function() { 1555 $('.home-tabul a').click(function(e) { 1556 $('.home-tabul a').removeClass('active'); 1557 var $this = $(this); 1558 if (!$this.hasClass('active')) { 1559 $this.addClass('active'); 1560 } 1561 //e.preventDefault(); 1562 }); 1563 }); 1564 </script>
1564 1565</body> 1566 1567</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.