שאלה לגבי קישור בתוך הJS
-
@צדיק-תמים זה הקוד:
var btnGoogle = document.getElementsByClassName('navbar-nav')[3].getElementsByClassName('navigation-link')[6]; btnGoogle.href = "javascript:bootbox.prompt({title:'<div style="text-align: center;"><img src="https://meatzvim.cf/assets/uploads/files/1623424265517-9005201b-b033-4853-84eb-cccc2cb7d90e-image-resized.png" width="400"><style>.text-header {background-color: #2584c5;text-align: center;color: #fff;box-shadow: 0 0 15px rgb(0 0 0 / 40%) inset; padding: 7px; font-weight: 700;}a {color: #fd0101;text-decoration: none;}.modal-content {border-radius: 10px !important;}</style><h2 class="text-header"><a class="anchor-offset" name=""><a href="https://computer-plus.herokuapp.com/" rel="nofollow ugc"> חיפוש ב COMP-PLUS</a>;"; btnGoogle.target = "_self";
אני מדבר בחלק של הSRC של התמונה
-
var btnGoogle = document.getElementsByClassName('navbar-nav')[3].getElementsByClassName('navigation-link')[6]; btnGoogle.href = "javascript:bootbox.prompt({title:'<div style=\"text-align: center;\"><img src=\"https://meatzvim.cf/assets/uploads/files/1623424265517-9005201b-b033-4853-84eb-cccc2cb7d90e-image-resized.png\" width=\"400\"><style>.text-header {background-color: #2584c5;text-align: center;color: #fff;box-shadow: 0 0 15px rgb(0 0 0 / 40%) inset; padding: 7px; font-weight: 700;}a {color: #fd0101;text-decoration: none;}.modal-content {border-radius: 10px !important;}</style><h2 class=\"text-header\"><a class=\"anchor-offset\"><a href=\"https://computer-plus.herokuapp.com/\" rel=\"nofollow ugc\"> חיפוש ב COMP-PLUS</a>;"; btnGoogle.target = "_self";
-