> this is a link to the code I was talking about > http://kspace.in/blog/2013/02/22/disable-javascript-execution-from-console/ <http://kspace.in/blog/2013/02/22/disable-javascript-execution-from-console/>
I see, thanks! In any case this is a hack not a support coming from the Chrome devtools team. > people can use javascript code to do things they are not allowed to do. I see what you mean, but yes - people can use JS code to do anything (especially web developers) and they can also workaround the hack described above. Honza On Wednesday, October 22, 2014 10:12:50 AM UTC+2, [email protected] wrote: > > people can use javascript code to do things they are not allowed to do. > > Le mercredi 22 octobre 2014 07:03:01 UTC+1, Jan Honza Odvarko a écrit : >> >> Such feature is not on our roadmap. >> >> Also, I am still unclear why blocking the command line on certain pages >> is useful. >> (if it's making troubles to your page, it should rather be the page what >> needs a fix) >> >> Honza >> >> On Tuesday, October 21, 2014 7:34:05 PM UTC+2, blm wrote: >>> >>> Can you share that code? >>> >>> Brian >>> >>> On 10/21/14 10:07 AM, [email protected] wrote: >>> >>> Chrome has its own console panel , I just found a javascript code and I >>> add it to my web site code, as result when someone write something on the >>> command line it shows him a message like "you can not use the commande >>> line" and his code will not be executed. >>> >>> Le mardi 21 octobre 2014 18:00:36 UTC+1, Jan Honza Odvarko a écrit : >>>> >>>> >>>> >>>> On Tuesday, October 21, 2014 6:49:11 PM UTC+2, [email protected] >>>> wrote: >>>>> >>>>> yes that's what I mean the console pannel >>>>> but I want to disable it for the users of my web site not on my >>>>> computer, so I need a code (javascript code for example) to disable it. >>>>> >>>> Firebug is not supporting API that would allow web pages to detect >>>> whether Firebug is installed or not. >>>> >>>> Can you point us to the API you used for Chrome? >>>> >>>> Honza >>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Firebug" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at http://groups.google.com/group/firebug. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/firebug/6372c97f-b746-44b3-87d5-03da48cb3ff9%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/firebug/6372c97f-b746-44b3-87d5-03da48cb3ff9%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >>> >>> -- You received this message because you are subscribed to the Google Groups "Firebug" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/firebug. To view this discussion on the web visit https://groups.google.com/d/msgid/firebug/b2fd3697-31a7-4db8-a448-342e3401dff5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
