• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Debug inserting a <script> element into my view file

#1
The following alien element appears in my page source file after rendering by the browser. I don't know why.

<script type="text/javascript"  id="debugbar_loader" data-time="1584375481" src="http://localhost:8080/index.php?debugbar"></script><script type="text/javascript"  id="debugbar_dynamic_script"></script><style type="text/css"  id="debugbar_dynamic_style"></style>

I followed the instruction at https://forum.codeigniter.com/thread-74553.html but that only removes the inserted comments at the top and at the bottom. For me the comments have no effect, but this script element has an effect.

Please help.
Reply

#2
That’s the Debug toolbar. It can be disabled completely in the filter config file app/Config/Filters.php, or by specific environnement in app/Config/Boot/*
Test your translation files with Translation Tester
Reply

#3
(03-16-2020, 09:59 AM)includebeer Wrote: That’s the Debug toolbar. It can be disabled completely in the filter config file app/Config/Filters.php, or by specific environnement in app/Config/Boot/*
I have disabled it in the app/Config/Filters.php.

I have peace now. Thank you so much.

But I am sure I will need to know how useful it is.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.