Skip to content

Instantly share code, notes, and snippets.

@xnonn
xnonn / DragNgoModoki_Fx3.7.uc.js
Last active December 10, 2015 17:49
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));
}
//==UserScript==
// @name Mouse Gestures
// @namespace http://www.xuldev.org/
// @description Lightweight customizable mouse gestures.
// @author Gomita
// @include main
//==/UserScript==
var ucjsMouseGestures={
@xnonn
xnonn / UserScriptLoader.uc.js
Created November 3, 2012 13:07
Patch for UserScriptLoader.uc.js
--- UserScriptLoader.uc.js.orig 2012-08-31 03:20:30.000000000 +0900
+++ UserScriptLoader.uc.js 2012-08-31 03:20:50.000000000 +0900
@@ -254,6 +254,14 @@
['onload','onerror','onreadystatechange'].forEach(function(k) {
if(obj[k] && (typeof(obj[k]) == 'function' || obj[k] instanceof Function)) req[k] = function() {
obj[k]({
+ __exposedProps__: {
+ status: "r",
+ statusText: "r",
+ responseHeaders: "r",