This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name From dA to Z and back | |
// @namespace http://camilo.is/ | |
// @version 0.1 | |
// @description Fixes the horrible new dA logo by replacing it with the old one. | |
// @include http://*.deviantart.com/* | |
// @include http://deviantart.com/* | |
// @match http://*.deviantart.com/* | |
// @match http://deviantart.com/* | |
// @author Camilo Martin <[email protected]> (http://camilo.is/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div#main > div#paneshell > div#shellcontent { right: 0 !important; } | |
div#main > div#toolbar.fresh-toolbar { right: 0 !important; } | |
.yucs-fl-left > div#yucs-nav.yui3-menu { display: none; } | |
.yucs-fl-left > div#yucs-logo { display: none; } | |
div#yucs-prop_search_button_wrapper.yucs-search-buttons { display: none !important; } | |
div#yucs-web_search_button_wrapper.yucs-search-buttons { display: none !important; } | |
div#yucs.yucs-mc > div.yucs-fl-right > div#yucs-network_link { display: none !important; } | |
.yucs-form-input > input#mnp-search_box.yucs-search-input { | |
border-radius: 0 !important; | |
border: 1px solid #451A87 !important; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function($) { | |
// Booooriiing (I hate SOAP operas). | |
var boilerPlate1 = '<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><FetchScreencastInfo xmlns="http://screenr.com/"><screencastId>'; | |
var boilerPlate2 = '</screencastId></FetchScreencastInfo></soap:Body></soap:Envelope>'; | |
// Let's put this here to dry up. It's gonna make sure the alignment is right. | |
$('.screencast_description>.viewcount').css('text-align', 'right'); | |
try { |