Skip to content

Instantly share code, notes, and snippets.

@pcperini
Last active August 29, 2020 20:43
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 pcperini/9760fc8e6667a6a9a7acaf3d43852e30 to your computer and use it in GitHub Desktop.
Save pcperini/9760fc8e6667a6a9a7acaf3d43852e30 to your computer and use it in GitHub Desktop.
$('div[data-block-id]:has(div:contains("c8f6e963-f28b-444e-ad23-054d6d94f25d"))').waitUntilExists('div[data-block-id]:has(div:contains("c8f6e963-f28b-444e-ad23-054d6d94f25d"))', function() {
// Page has loaded
$('div[data-block-id]:has(div:contains("c8f6e963-f28b-444e-ad23-054d6d94f25d"))').css('display', 'none');
$('div[data-block-id]:has(div:contains("Directory"))').css('display', 'none');
$('a.notion-link-token.notion-enable-hover span').css('opacity', 1.0);
$('a:regex(href, ^((?!:\/\/).)*$)').removeAttr('target');
$('a:regex(href, ^((?!:\/\/).)*$)').removeAttr('data-token-index');
}, true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment