injected stylesheet Google extension, resulting in abnormal style

  Today in the development encountered a problem that we send advertising function I wrote, and I used a textare text box, this time found a problem. The text box suddenly disappear. Gone, I thought it was his style that does not care to hide this later found out, really is not. After careful look found to be a very special style, see screenshot:

  

This style is certainly not my own writing, and then I went to Baidu "injected stylesheet" stylesheet and found this is because the plug-in blocking advertising my Google installed.

 

When I put that ad blocking plug is closed, the input box will be able to show. But I certainly can not force all users not to install this plugin, mostly thought of a compromise. Is to our advertisement content input box, remove the prefix ad_. My original textare's id is "ad_content". I was directly in front of the ad_ removed, the plug-in would not think this is an ad, and will be able to display properly.

 

Guess you like

Origin www.cnblogs.com/daniao11417/p/12067842.html