עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

עזרה ב javascript LOG IN

Featured Replies

פורסם

איפה אני משנה את שם שמשתמש והסיסימה

שלחו לי את זה מוכן

<script language="javascript">

<!--//

/*This Script allows people to enter by using a form that asks for a

UserID and Password*/

function pasuser(form) {

if (form.id.value=="JavaScript") {

if (form.pass.value=="Kit") {

location="page2.html"

} else {

alert("Invalid Password")

}

} else { alert("Invalid UserID")

}

}

//-->

</script>

<center>

<table bgcolor="white" cellpadding="12" border="1">

<tr><td colspan="2"><center><h1><i><b>Login

Area</b></i></h1></center></td></tr>

<tr><td><h1><i><b>UserID:</b></i></h1></td><td><form name="login"><input

name="id" type="text"></td></tr>

<tr><td><h1><i><b>Password:</b></i></h1></td><td><input name="pass"

type="password"></td></tr>

<tr><td><center><input type="button" value="Login"

onClick="pasuser(this.form)"></center></td><td><center><br><input

type="Reset"></form></td></tr></table></center>

פורסם
  • מחבר

אתה לא רוצה לעשות את זה ככה.

למה? כי כל בן אדם שנכנס לדף יכול לעשות view source ולראות מה שם המשתמש והסיסמה.

אגב, הקוד הזה מסקרן אותי... זה בדיוק אותו קוד שמופיע כאן:

http://thedailywtf.com/Articles/So-You-Hacked-Our-Site!.aspx

אני יסתיר את זה לא בעיה אגב לא רואים כלום בלינק שלך

יש מצב שאתה עוזר לי לימצוא את המקום הו משנים שם משתמש וסיסמה

פורסם

אתה לא יכול להסתיר את זה. כל אחד יכול לעשות view source.

שם המשתמש והסיסמה הם בשורות האלה:

if (form.id.value=="JavaScript") {
if (form.pass.value=="Kit") {

אגב, להבא כשאתה כותב כאן קוד, תשתמש בטג קוד בשביל שייראה נורמלי (כפתור # למעלה). ואתה לא צריך לצטט את ההודעה שמעליך. והלינק שנתתי כן פועל.

פורסם
  • מחבר

תודה

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.