JavaScript ntawv sau yog tua nyob rau hauv browser ntawm tus qhua lub website uas thauj cov nplooj ntawv html. Txij li qhov no tshwm sim ncaj qha rau tus neeg siv lub khoos phis tawm, nws ua rau muaj kev hem thawj rau nws kev ruaj ntseg. Raws li qhov tshwm sim, txhua qhov browser muaj cov chaw uas tso cai rau koj los cuam tshuam kev tua ntawm JavaScript scripts. Txawm li cas los xij, cov ntsiab lus nquag ntawm qee nplooj ntawv raug tsim nyob rau hauv txoj kev uas lawv tsis tuaj yeem ua haujlwm kom tsis muaj qhov tsis yog cov ntawv sau no
Cov Lus Qhia
Kauj ruam 1
Txhawm rau pab kom JavaScript ua tiav nyob rau hauv Opera browser, qhib nws cov ntawv qhia zaub mov thiab mus rau ntu "Cov Chaw", thiab tom qab ntawd mus rau "Chaw Ceev" ntu. Nws tsis yog qhov nyuaj kom nrhiav tau cov yam xav tau hauv nws - nws yog cim tias txoj kev, "Qhib JavaScript". Muaj lwm txoj hauv kev - nyob rau tib seem "Cov Chaw" nyem qhov khoom "Cov chaw dav dav" lossis tsuas yog nias lub hotkey ua ke ctrl + f12. Hauv qhov chaw teeb tsa, nyem rau ntawm "Advanced" tab, tom qab ntawd mus rau "Cov ntsiab lus" tshooj, thiab tom qab ntawd khij lub thawv tom ntej "Qhib JavaScript".
Kauj ruam 2
Txhawm rau ua kom zoo tib yam kev teeb tsa hauv Mozilla FireFox browser, nyem kab "Cuab Yeej" hauv cov ntawv qhia zaub mov thiab ua rau "Cov Chaw" kab. Nyob rau hauv lub qhov rai uas qhib, nyem kab "Cov Ntsiab Lus" thiab kos lub thawv tom ntej ntawm "Siv JavaScript".
Kauj ruam 3
Hauv Internet Explorer, hauv ntu "Cov Cuab Yeej" ntawm nws cov ntawv qhia, nyem rau kab "Internet Xaiv" kab. Lub qhov rai yuav qhib rau qhov koj xav tau nyem rau ntawm "Security" tab thiab tom qab ntawd nyem rau ntawm "Custom" khawm. Hauv qhov "Security Settings" window, nrhiav rau ntu "Ntawv Sau", uas muaj ntu "Active Scripts" subsection - kos rau "Enable" cov khoom hauv nws.
Kauj ruam 4
Hauv Google Chrome browser, mus rau cov ntawv qhia zaub mov thiab ua kom "Cov Khoom Xaiv". Chrome yuav qhib nplooj ntawv tshiab uas koj xav tau nyem rau ntawm kab ntawv "Advanced". Hauv seem "Cov Ntaub Ntawv Tus Kheej", nyem lub pob sau npe "Cov ntsiab lus", thiab nyob rau nplooj ntawv tom ntej qhib los ntawm qhov browser, kos lub thawv tom ntej "Tso cai rau txhua tus xaib siv JavaScript (pom zoo)".
Kauj ruam 5
Yog tias koj siv Apple Safari, koj yuav tsum nthuav cov ntu "Hloov" thiab nyem rau ntawm kab "nyiam". Nyob rau hauv lub qhov rai uas qhib, nyem rau ntawm "Security" tab thiab hauv "Web cov ntsiab lus" ntu, kos rau "Qhib JavaScript".