Press Control+Shift+P or Command+Shift+P (Mac) to open the Command Menu After you have opened the inspect element Search after "javascript" word
for chrome : settings > site and privacy settings > site setting > Javascript > Allowed (recommend) > off