Skip to content

Instantly share code, notes, and snippets.

@youcune
Created April 7, 2017 06:11
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 youcune/b1c02228de53f6e836c7934931063969 to your computer and use it in GitHub Desktop.
Save youcune/b1c02228de53f6e836c7934931063969 to your computer and use it in GitHub Desktop.
Facebookにログインしていない状態で出てくるクソデカくてウザいログインしようぜポップアップを表示させなくするユーザースクリプト
// ==UserScript==
// @name Facebook Remove CTA
// @namespace jp.youcube.facebook-remove-cta
// @include https://www.facebook.com/*
// @version 1
// @grant none
// ==/UserScript==
elm = document.getElementById('pagelet_growth_expanding_cta');
if (elm != null) {
elm.parentNode.removeChild(elm);
}
@youcune
Copy link
Author

youcune commented Apr 7, 2017

μBlockのフィルターに

facebook.com###pagelet_growth_expanding_cta

と書いてもいけました。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment