Try not to use Ad,adv,advertisement to name these keywords

Source: Internet
Author: User

HTML DOM, folder name, file name, all try not to ad,adv,advertisement these keywords! for what?

Because it will be blocked automatically by the browser's ad plugin.

There is an ad management page in my site:

/advertisement/advertisingspaces.aspx

Used to manage the site's ad bit, has been good, but suddenly there are some people can not access, some people normal some abnormal ...

Finally find out is installed to the ad plugin computer can not access the content of this page, so changed the directory and the name of the page can be

Many of the plug-ins to the ads and this type of name, in order to reduce the conflict between developers, it is recommended to avoid such naming, including css,html, file name, directory name and so on, such as one of your element style named <input type= ' text ' class= ' Adinput '/>, then congratulations, you may have to play a protracted battle with the browser's advertising plugin .... Because you have an ad in your class name ... Yes, that's it, J.

Also really unspoken rules, only met to find, anyway, my teacher did not teach me these, do not know if your teacher has taught.

Try not to use Ad,adv,advertisement to name these keywords

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.