Skip to content

Instantly share code, notes, and snippets.

@xnonn
Last active December 10, 2015 17:49
Show Gist options
  • Save xnonn/4470611 to your computer and use it in GitHub Desktop.
Save xnonn/4470611 to your computer and use it in GitHub Desktop.
facebook対策
&& self.dragDropSecurityCheck(event, dragSession, url) は全て削除
1660行目付近削除
if (self.dragDropSecurityCheck(event, dragSession, uri.spec)) {
info.urls.push(uri.spec);
info.texts.push(uri.spec);
info.nodes.push(null);
info.files.push(file);
info.fname.push(self.candidateFname(null, uri.spec));
}
1186行目あたりも削除
// do nothing if event.defaultPrevented (maybe hosted d&d by web page)
if (event.defaultPrevented)
return;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment