Created
April 18, 2013 02:09
-
-
Save gurdiga/5409435 to your computer and use it in GitHub Desktop.
Personalized Web Options
^https://www.google.com/bookmarks/
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
textarea[name=annotation] { | |
height: 250px; | |
padding: 5px 7px; | |
} | |
#gb, | |
#sidenav, | |
#cnt+div, | |
div[clear]+div, | |
form[name="add_bkmk_form"] tr:nth-child(1), | |
form[name="add_bkmk_form"] tr:nth-child(2), | |
form[name="add_bkmk_form"] tr:nth-child(7), | |
form[id^=bkmk_form_] tr:nth-child(3), | |
form[id^=bkmk_form_] tr:nth-child(4), | |
div[style="text-align: center;"], | |
#search table:nth-child(3) td[nowrap], | |
div.kd-buttonbar[style="float:left"], | |
a.kd-button:first-child /*cancel button in the new bookmark dialog */ { | |
display: none; | |
} | |
form[name="add_bkmk_form"] td { | |
vertical-align: top !important; | |
} | |
form[name="add_bkmk_form"] td[style="vertical-align:middle"] { | |
font-weight: bold; | |
} |
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
var forEach = Array.prototype.forEach; | |
forEach.call(document.querySelectorAll('textarea.areastyled'), function(textarea) { | |
textarea.value = textarea.value.replace(/ /g, '\n'); | |
}); | |
forEach.call(document.querySelectorAll('span[id^=bkmk_text_] a:first-of-type'), function(a) { | |
var i = a.getAttribute('onclick').match(/'(\d+)'/)[1]; | |
a.addEventListener("click", function() { | |
document.querySelector('#bkmk_notes_' + i).focus(); | |
}, false); | |
}); | |
forEach.call(document.querySelectorAll('a[id^=bkmk_href_]'), function(a) { | |
a .target = "_blank"; | |
}); | |
document.querySelector('.kd-button-submit').setAttribute('tabindex', 0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment