Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am dimasalakhov on github.
* I am dimasalakhov (https://keybase.io/dimasalakhov) on keybase.
* I have a public key ASDPzNU3sVNGDKi03wuJrx3ups4bjSEIAuruL9ta0wK5aQo
To claim this, I am signing this object:
@DimaSalakhov
DimaSalakhov / ValidationSummaryFor
Created January 21, 2014 21:07
Extension method which will show all error messages for the field.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Web.Mvc;
using System.Web.Routing;
namespace WebApplication1.Extensions
{
// ==UserScript==
// @match http://twitter.com/*
// @match https://twitter.com/*
// @match http://api.twitter.com/*
// @match https://api.twitter.com/*
// ==/UserScript==
(function () {
$('div [data-component-term="japanese_ad"]').remove();
$('div [data-component-term="user_recommendations"]').remove();