Skip to content

Instantly share code, notes, and snippets.

Created July 1, 2016 04:41
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/3ebaea350d6d954a476d4db8a7dc30fd to your computer and use it in GitHub Desktop.
Save anonymous/3ebaea350d6d954a476d4db8a7dc30fd to your computer and use it in GitHub Desktop.
itmediaPR
// ==UserScript==
// @name itmediaPR
// @namespace itmediaPR
// @description itmediaのPR記事を分かりやすくする
// @include http://www.itmedia.co.jp/*
// @version 1
// @grant none
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js
// ==/UserScript==
$(function () {
$('#cmsByline #byline:contains(PR)').append('<div style="margin-top:5px; padding:15px 0px 10px; color:#fff; text-shadow:1px 1px 0 rgba(0,0,0,0.2); background-color:#FE1A0B; font-size:4em; text-align:center;">この記事はPR記事です。</div>');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment