Skip to content

Instantly share code, notes, and snippets.

var GOOGLE_READER_PROXY_URL = 'http://www.google.com/reader/atom/feed/'
function feedRequest(href, feedCallback) {
httpRequest(href, callback);
function callback(e) {
if (e.status == '403') {
postError('feed access denied. [' + e.status + '] ' + e.statusText);
if (href.indexOf(GOOGLE_READER_PROXY_URL) != 0) {
var url = GOOGLE_READER_PROXY_URL + encodeURIComponent(href);
postError('retry to Google Reader [' + url + ']');
feedRequest(url, feedCallback);
// ==UserScript==
// @name jQuery - fix window height (for jQuery version 1.2.x.)
// ==/UserScript==
(function() {
function main() {
if (typeof jQuery == 'undefined') return;
if (!/^1\.2\./.test(jQuery.fn.jquery)) return;
var height_ = jQuery.fn.height;
jQuery.fn.height = function() {
if ( this[0] == window && jQuery.browser.opera && jQuery.browser.version >= 9.50)
// ==UserScript==
// @name Booooooooogle
// @include http://www.google.co.jp/*
// @include http://www.google.com/*
// ==/UserScript==
(function() {
opera.addEventListener('BeforeEvent', function(e) {
if (e.event.type == 'keypress' && e.event.keyCode == 13) {
e.preventDefault();
}
using System.Linq;
using System.Text;
using System.Diagnostics;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
// ==UserScript==
// @name Google Web Fonts - for Opera12
// @author miya2000
// @include http://www.google.com/webfonts
// ==/UserScript==
(function(){
opera.addEventListener('BeforeScript', function(e) {
var script = e.element;
if (/\.cache\.js$/.test(script.src)) {
script.text = script.text.replace(/"keypress"/g, '\\"keypress\\"');
# author: mizzy, yusukebe
use Plagger::Util qw( decode_content );
use JSON;
use URI::Escape;
sub handle {
my ($self, $url) = @_;
$url =~ qr!http://(?:(?:au|br|ca|fr|de|us|hk|ie|it|jp|mx|nl|nz|pl|es|tw|gb|www)\.)?youtube\.
com/(?:watch(?:\.php)?)?\?v=.+!;
}
Attribute VB_Name = "JavaModule"
Option Explicit
''' Java コンパイル
Public Sub JavaCompile()
CompileAndRun True
End Sub
// ==UserScript==
// @name del.icio.us - compat opera10.10
// @namespace http://d.hatena.ne.jp/miya2000/
// @include http://delicious.com/*
// ==/UserScript==
(function() {
if (!window.console) {
window.console = {
log : function() {},
// ==UserScript==
// @name nicovideo - zero for Opera10.10
// @include http://www.nicovideo.jp/watch/*
// ==/UserScript==
(function() {
opera.addEventListener('BeforeScript', function(e) {
// show comment panel.
if (/EmbededWatchData\.js/.test(e.element.src)) {
$('#playerCommentPanel').show();
}
// ==UserScript==
// @name Scrolloo
// @description Yet anther scrollbar and scroll utilities.
// @namespace http://www.hatena.ne.jp/miya2000/scrolloo
// @version 1.00 Beta
// @include http://*
// @exclude http://www.nicovideo.jp/watch/*
// @exclude http://miya2000.hatenablog.com/*
// ==/UserScript==
//*