Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Wannan tattaunawa an rufeta kuma ta zama daɗaɗɗiya. Yi sabuwar tambaya idan ka na bukatar taimako.

Firefox redirecting on ondragend event on youtube.

  • 1 amsa
  • 1 yana da wannan matsala
  • 5 views
  • Amsa ta ƙarshe daga Shadow110

more options

I'm trying to make an addon to firefox, that is supposed to let your create a custom, temporary playlist on youtube, by dragging and dropping the video you want to add to this temporary playlist, but whenever I try to drag and drop a video on the box that I created (to test if my code works so far), firefox automatically plays this video (unless I have an alert), so I wonder if it's possible to cancels firefox redirect in some other way than an alert, since it's pretty "unsmooth".

I'm trying to make an addon to firefox, that is supposed to let your create a custom, temporary playlist on youtube, by dragging and dropping the video you want to add to this temporary playlist, but whenever I try to drag and drop a video on the box that I created (to test if my code works so far), firefox automatically plays this video (unless I have an alert), so I wonder if it's possible to cancels firefox redirect in some other way than an alert, since it's pretty "unsmooth".

All Replies (1)

more options

Duplicate of /questions/1226739