This file contains hidden or 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
@-moz-document url("https://ssl.muenchen.de/EF/opac.html") { | |
form[name="EF"] * { | |
color: blue !important; | |
} | |
} | |
This file contains hidden or 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
@-moz-document url("https://ssl.muenchen.de/EF/opac.html"), | |
url("https://ssl.muenchen.de/AK/opac.html") { | |
select.input[name="NNORRQ"] { | |
-moz-binding:url(http://gist.github.com/raw/211172/bd87a5d51be36f454a96f6cad07f81c8522573ee/OPAC_Muenchen.xbl#listsize) !important; | |
} | |
form[name="EF"], | |
form[name="AK"] { | |
-moz-binding:url(http://gist.github.com/raw/211172/bd87a5d51be36f454a96f6cad07f81c8522573ee/OPAC_Muenchen.xbl#defaults) !important; |
This file contains hidden or 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
<?xml version="1.0" encoding="ISO-8859-1"?> | |
<bindings xmlns="http://www.mozilla.org/xbl"> | |
<!-- 1 - Allow for larger result sets --> | |
<binding id="listsize"> | |
<implementation> | |
<constructor> | |
<![CDATA[ | |
var newOption = function(selElm, val){ | |
var sel = document.createElement('OPTION'); |
This file contains hidden or 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
#foo{ | |
position:fixed; | |
z-index: 9000; | |
top:0%; bottom: 0%; left:0%; right:0%; | |
border-style: solid; | |
border-color: rgb(200,200,200); | |
border-width: 5px; | |
background-color: rgba(100,100,100,.9); | |
} | |
#foo * { |
This file contains hidden or 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
var noun_type_fooCommand = { | |
suggest: function( text, html ) { | |
var suggestions = []; | |
suggestions.push( CmdUtils.makeSugg('foo', 'foo', 'foo') ); | |
suggestions.push( CmdUtils.makeSugg('bar', 'bar', 'bar') ); | |
suggestions.push( CmdUtils.makeSugg('baz', 'baz', 'baz') ); | |
This file contains hidden or 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
var noun_type_gmCommand = { | |
_name: "GM command name", | |
// Returns all GM commands available for the current page. | |
getCommands: function(){ | |
var commands= {}; | |
var menuitems = jQuery(context.chromeWindow.document) | |
.find('\x23userscript-commands-sb > menupopup > menuitem') | |
.get(); |
This file contains hidden or 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
var noun_type_gmCommand = { | |
_name: "GM command name", | |
// Returns all GM commands available for the current page. | |
getCommands: function(){ | |
var commands= {}; | |
var menuitems = jQuery(window.document) | |
.find('#userscript-commands-sb > menupopup > menuitem') | |
.get(); | |
for (var i=0; i<menuitems.length; i++){ |
NewerOlder