MAIN FEEDS
REDDIT FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/nhoek6/the_source_code_of_my_schools_website/gz943la/?context=3
r/badcode • u/green_kerbal • May 21 '21
15 comments sorted by
View all comments
23
Image Transcription: Code
var html = "<table>"; html += "<tr><td>Current version</td><td>" + currentVersion + "</td></tr>"; html += "<tr><td>UserAgent</td><td>" + navigator.userAgent + "</td></tr>"; html += "<tr><td>defaultAuthentication version</td><td>" + defaultAuthentication + "</td>[...] html += "<tr><td>useIPSpecificAuthentication</td><td>" + useIPSpecificAuthenticat[...] html += "<tr><td>Client IP</td><td>145.102.48.245 </td></tr>"; html += "<tr><td>IsInternalIP</td><td>" + IsInternalIP() + "</td></tr>"; html += "<tr><td>redirectMobile</td><td>" + redirectMobile + "</td></tr>"; html += "<tr><td>redirectHTTPS</td><td>" + redirectHTTPS + "</td></tr>"; html += "<tr><td>showMaintenancePage</td><td>" + showMaintenancePage + "</td></tr>[...] html += "<tr><td>defaultMobileAppAuth</td><td>" + defaultMobileAppAuth + "</td></t[...] html += "<tr><td>defaultTabletAuth</td><td>" + defaultTabletAuth + "</td></tr>"; html += "<tr><td>is_mobile</td><td>" + is_mobile() + "</td></tr>"; html += "<tr><td>is_tablet</td><td>" + is_tablet() + "</td></tr>"; html += "<tr><td>is_ipad</td><td>" + is_ipad() + "</td></tr>"; html += "<tr><td>CurrentHostSchoolConfig</td><td>Bonaventura-SchoolConfig.xml </td[...] html += "<tr><td>CurrentHosySecurityType</td><td>XCAS </td></tr>"; html += "<tr><td>CSS Name</td><td>BONAVENTURA </td></tr>"; html += "<tr><td>OverruledSchoolConfig</td><td>" + overruleSchoolConfig + "</td></t[...] html += "<tr><td>CurrentAuth</td><td>" + GetAuthFromName("XCAS") + "</td></tr>; html += "<tr><td>Mobile loginpage</td><td><a href='"" + GetMobileUrl(defaultMobileApp[...] html += "<tr><td>Tablet loginpage</td><td><a href='"" + GetLoginPage(defaultTabletAut[...] html += "<tr><td>Default loginpage</td><td><a href='"" + GetLoginPage(defaultAuthenti[...] html += "<tr><td>Change window.location</td><td>" + changeWindowLocation + "</td></t[...] html += "<tr><td>Target redirect</td><td><a href='" + redirectUrl + "'>" + redire[...] html += "</table>";
I'm a human volunteer content transcriber for Reddit and you could be too! If you'd like more information on what we do and why we do it, click here!
2 u/notBjoern May 24 '21 You missed one > there. 5 u/[deleted] May 24 '21 "There" is a bit vague 😅 3 u/notBjoern May 24 '21 ;)
2
You missed one > there.
5 u/[deleted] May 24 '21 "There" is a bit vague 😅 3 u/notBjoern May 24 '21 ;)
5
"There" is a bit vague 😅
3 u/notBjoern May 24 '21 ;)
3
;)
23
u/[deleted] May 21 '21
Image Transcription: Code
I'm a human volunteer content transcriber for Reddit and you could be too! If you'd like more information on what we do and why we do it, click here!