开发者

Random css class from nowhere

I have a problem on a page i'm coding. Problem is i'm getting random img classes from nowhere (at least n开发者_如何转开发owhere i know). I've put the generated class below.

<img class=" iryjanjabqqmypymdnuv" src="some/source/path">

There are several jquery plugins and jqueryui on the page but div that got img has nothing to do with those js libs. I also use php but that must have nothing to do with this i guess.

If you need any codes or names of the libraries just ask. Please help me i really have no idea and all the search i did was empty about this.


I had exactly the same problem. Find out that AdBlock Plus is responsible for that. So, just disable all the extensions and reload the page


Just wanted to chime in for anyone that finds this googling their problem, this is exactly the right answer in my case as well. AdBlock Plus (in Firefox only, not Chrome) was generating random class names for images I have embedded in my nav bar for social media links.

Now I have to either find a way to get around that or anyone using ABP in Firefox will see a weird looking nav bar due to this issue. It's not exactly an unpopular plugin.

I work in both Chrome and Firefox and use ABP in both. Hopefully we won't have to find workarounds for this.


Is it possible that you're browsing on a mobile network connection? Some mobile networks modify the HTML/CSS for images so they can serve lower-bandwidth versions, but allow you to "fix" them later. For example, on T-Mobile, if I hover over an image it will give me an Alt tag telling me the keyboard shortcut to use to load the original.

Obviously this won't be the case if it's all local...


I had the same problem and disabled all extensions in Firefox and then it was gone. Not sure which extension is the guilty party, have too many to chase it down by disabling each of them one at a time. :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜