1

When I use Chrome DevTools, under the Sources tab it shows all the js scripts that executed. I want to be able to disable one script from executing even when I refresh the page. Any ideas how to force DevTools to permanently disable a script from loading?

mplungjan
  • 169,008
  • 28
  • 173
  • 236
user5248
  • 347
  • 1
  • 3
  • 21
  • 1
    Likely not possible. However perhaps TamperMonkey can do it - or adblock – mplungjan Jul 10 '17 at 16:30
  • 1
    https://superuser.com/questions/278590/is-there-a-way-to-disable-a-specific-js-script-from-a-specific-website – Mike Cheel Jul 10 '17 at 16:36
  • @mplungjan AdBlock is a good suggestion. There's a lot of hidden functionality in there. – freginold Jul 10 '17 at 16:38
  • 1
    This is not a duplicate question as it is scoped to the DevTools usage and not extensions to browsers. It also is possible in some cases, which is valuable information for debugging purposes. Please reopen the issue so developers can learn how to achieve this task using their provided tools instead of needing extensions to do their jobs. – Garbee Jul 10 '17 at 18:12

0 Answers0