搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

此討論串已經關閉並封存。 如果您有需要幫助,請新增一個新問題

Firefox redirecting on ondragend event on youtube.

  • 1 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 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".

所有回覆 (1)

more options

Duplicate of /questions/1226739