Skip to content

Instantly share code, notes, and snippets.

@kanonji
Created November 12, 2019 18:33
Show Gist options
  • Save kanonji/858879617c9cc2997897d5054c19aede to your computer and use it in GitHub Desktop.
Save kanonji/858879617c9cc2997897d5054c19aede to your computer and use it in GitHub Desktop.
Kindle メモとハイライトを保存しやすいDOMに調整するbookmarklet
javascript:(function(){$("#annotation-scroller").appendTo("body");$("#a-page").remove();$("#a-popover-root").remove();$(".a-popover-trigger").parent().parent().remove();$(".kp-notebook-row-separator").css("width","inherit");$(".kp-notebook-print-override").css("width","inherit")})();
(function(){
$('#annotation-scroller').appendTo('body')
$('#a-page').remove()
$('#a-popover-root').remove()
$('.a-popover-trigger').parent().parent().remove()
$('.kp-notebook-row-separator').css('width', 'inherit')
$('.kp-notebook-print-override').css('width', 'inherit')
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment