Skip to content

Instantly share code, notes, and snippets.

@XP1
Created August 16, 2012 05:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save XP1/3367151 to your computer and use it in GitHub Desktop.
Save XP1/3367151 to your computer and use it in GitHub Desktop.
Fix SkyDrive: Prevents the usage of the `styleSheet` property.
// ==UserScript==
// @name Fix SkyDrive
// @version 1.00
// @description Prevents the usage of the `styleSheet` property.
// @namespace https://gist.github.com/3367151/
// @copyright 2012
// @author XP1
// @homepage https://github.com/XP1/
// @license Apache License, Version 2.0; http://www.apache.org/licenses/LICENSE-2.0
// @include http*://skydrive.live.com/*
// @include http*://*.skydrive.live.com/*
// ==/UserScript==
/*
* Copyright 2012 XP1
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*jslint browser: true, vars: true, maxerr: 50, indent: 4 */
(function (HTMLStyleElement) {
"use strict";
HTMLStyleElement.prototype.styleSheet = undefined;
}(this.HTMLStyleElement));
@XP1
Copy link
Author

XP1 commented Aug 16, 2012

I posted this user JS in this thread:

11.60 and 12.0 SKYDRIVE doesn't work:
http://my.opera.com/community/forums/findpost.pl?id=12918182

Related thread:

Skydrive upload improvement, ebay shipping labels printing:
http://my.opera.com/sitepatching/blog/2012/08/13/skydrive-upload-improvement-ebay-shipping-labels-printing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment