Skip to main content
deleted 4 characters in body
Source Link
clickbait
  • 383
  • 1
  • 11

I'm developing a browser extension that lets users mark answers as favorites. The default Stack Exchange behavior when the favorite button is clicked messes everything up, though. Even if I set my own event listener to replace the default behavior, it seems to automatically undo my code and do the default behavior.

enter image description here

How can I "turn off" default Stack Exchange sit behaviors?

I'm developing a browser extension that lets users mark answers as favorites. The default Stack Exchange behavior when the favorite button is clicked messes everything up, though. Even if I set my own event listener to replace the default behavior, it seems to automatically undo my code and do the default behavior.

enter image description here

How can I "turn off" default Stack Exchange sit behaviors?

I'm developing a browser extension that lets users mark answers as favorites. The default Stack Exchange behavior when the favorite button is clicked messes everything up, though. Even if I set my own event listener to replace the default behavior, it seems to automatically undo my code and do the default behavior.

enter image description here

How can I "turn off" default Stack Exchange behaviors?

edited tags; edited title
Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64

How to turn off default StackExchange Default Stack Exchange behavior interferes with my "Mark answers as favorites" code?

Source Link
clickbait
  • 383
  • 1
  • 11

How to turn off default StackExchange behavior

I'm developing a browser extension that lets users mark answers as favorites. The default Stack Exchange behavior when the favorite button is clicked messes everything up, though. Even if I set my own event listener to replace the default behavior, it seems to automatically undo my code and do the default behavior.

enter image description here

How can I "turn off" default Stack Exchange sit behaviors?