Open Google Chrome. 2. In the upper-right corner, click the. icon. 3. On the drop-down menu that appears, tap the Settings option. 4. Under the Advanced section, tap Site settings. 5. Tap JavaScript. 6. Move the slider. to toggle JavaScript on or off.