The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
console log from admin options not working
im trying to test some things in a setting yet its not posting to the console, other stuff (scripts, styles,html) all load just fine in this location why cant i console log...
Code:
<setting varname="drc_core_spt" displayorder="999"> <datatype>free</datatype> <optioncode><![CDATA[<script>console.log('SHIT LOGGED..');</script> |
#2
|
||||
|
||||
My guess would be you need to echo that script.
|
#3
|
|||
|
|||
Pretty sure it doesn't work because the AdminCP of vBulletin makes use of iframes and it doesn't log the console.log calls in iframes.
http://stackoverflow.com/questions/1...g-of-an-iframe |
Благодарность от: | ||
Dr.CustUmz |
#4
|
||||
|
||||
even on the options page it doesnt work (out of iframe), but the script triggers (added an alert to test that)
example admincp/options.php?do=options&dogroup=onoff goes directly to that page |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|