How adblock blocks inline scripts. Attention adblock blocked loading javascript files

Adblock is a special extension program that hides ads from the eyes of users. It comes as an addition to the search engine program, and its essence is to block pop-up windows, banners and other unwanted information that distracts from viewing the main content of the web page.

The Adblock extension is as easy to disable as it is to activate. Sometimes there is a need to display all the materials on the site, or the information is displayed incorrectly, and there is no need for ad blocking - in this article we will take a closer look at how to disable Adblock in the most popular search engines - Google chrom, Yandex, Opera and Mozilla. We will also consider the features of connecting and disconnecting the Adblock program on phones, tablets and smartphones with software based on the Android OS.

How to disable adblock in google chrome

The Adblock extension is the most popular web browser extension for blocking ads. There are various versions of this program, the latest of them block not only advertising messages, but also malicious links while browsing the Internet. In different search engines, the principle of disabling this program is quite uniform. Consider two ways to disable Adblock and Adblock plus (enhanced version) in the Google Chrome search engine.

First way

  • We open the browser.
  • In the upper right corner we find the Adblock program icon (in the example we will use two extensions - Adblock and Adblock plus, a more advanced version), click on it.


  • A menu window will open, select the option "Pause the program", click on it.


  • The Adblock program icon becomes inactive (green). To turn on the program, you should do the same operations as when turning it off.


Second way

  • Open the Google Chrome search engine, in the upper right corner we find the “Settings and Controls” icon, click on it.


  • In the menu that opens, find the option "Settings", go into it.


  • A window of internal browser settings will open, we do not need them. In the upper left corner, click on the "Extensions" tab.


  • After clicking it, a list of extensions will appear on the screen, select Adblock and Adblock Plus from the list, uncheck the boxes next to these programs.


  • After deselecting the checkboxes, the "Enabled" command will change to "Enabled".


Third way

  • Open the search engine, in the open window, click the "Settings and Management" icon.


  • In the open menu, look for "Additional tools", then "Extensions", uncheck the boxes next to Adblock programs. Extensions are inactive.


How to disable adblock in Opera browser

It will take a couple of minutes to disable the ad blocker in the Opera browser.

  • We open the search engine.
  • On the left side of the taskbar, at the very bottom, we find the extensions icon in the form of a puzzle piece.


  • Click on it, find the active extensions (Adblock), give the command "Disable". The extension has been suspended in the Opera browser.



How to disable adblock in Yandex

The Yandex search engine is very similar to Google Chrome, and the differences between them are very minor. Consider disabling Adblock in this search engine.

  • We go to the Yandex browser.


  • In the upper right corner we find the Adblock icon - usually it is an open palm on a red background, click on it.


  • An additional menu will open, perform the operation "Suspend Adblock".


  • After the "Suspend Adblock" operation is completed, the extension icon will change to "Class" on a green background - this means that the program is inactive.


Disable adblock in Mozilla Firefox browser

The Mozilla search engine is becoming less and less popular compared to the more practical Google Chrome and Yandex, but many users still prefer this service as the most reliable and stable search engine. Consider disabling Adblock in this search engine.

  • Open the Mozilla browser.


  • In the upper right corner we find the already familiar program icon, click it.


  • The context menu is displayed, select "Disable everywhere" there.


  • The Adblock extension is inactive, as indicated by the gray color of the icon.


adblock program in android operating system

Using Adblock on telephone devices, tablets and smartphones has its own characteristics. In Android, this extension comes as a separate web browser with which you can search the Internet. At the same time, the program itself filters ads and malicious links, you only need to install this program yourself using the Google play service (Play Market).

If Adblock is installed on your device and you want to disable the ad blocking feature, you will need to do the following:

  • Open the Adblock browser on your phone (tablet, smartphone).

  • We go into the browser settings (this is done using the left key on the touch phone), find the "Options" menu, click on it.

  • In the "Settings" we find the "Ad Blocking" option, which will allow you to set the desired blocking parameters, language and default settings.

We looked at examples of disabling Adblock in four different browsers, as well as the features of disabling ad blocking in the Android operating system. The Adblock extension also allows you to disable blocking on separately viewed pages by first setting certain settings. This add-on has many analogues, as well as various versions, which differ in their target orientation and spectrum of action.

Adblock is a browser extension that blocks ads. It would seem that such a plugin is designed for the convenience of the Internet user, but its use is fraught with pitfalls, such as:

  • enabled adblock in addition to advertising can block some scripts, without which the full operation of the site is not possible. Adblock can block comment form, feedback widgets, counters, social media buttons and other plugins.
  • The plugin significantly increases the consumption of RAM and computing resources.
  • do not forget that advertising on the site provides income to its owner, and usually earnings on the site are small. Read. Webmasters need the money they earn to maintain their resources, as bloggers are forced to spend on maintaining sites. This is a fee for a domain, hosting, for creating a design, as well as expenses for writing articles, advertising, optimization, etc. In order to develop your site, a webmaster needs money. It is also a motivation to work.
  • the blocker does not cut out all ads, but prevents the site from working normally,
  • the site may be displayed with empty fields - these are the places where advertising used to be.
  • some webmasters struggle with adblock users and do not show them their content (how to do this in my next article)

What can the massive use of Adblock by Internet users lead to:

  • many webmasters will simply abandon their sites, and it will be much more difficult to find useful content. "How is it, because they have a calling? They owe us ..." - you ask. This is life, and no one owes anyone. If you think that someone should invest money so that you feel good, their work and soul, then you are mistaken.
  • the appearance of more scam in the network. Of course, I will not say that all webmasters will immediately turn into scammers, but some with a low moral level may start to deceive people. Honestly, you can't make money.
  • Those bloggers who stay with their sites will have to monetize them differently and find ways. An option that is already often used is hiding content for users with adblock enabled or . Alternative monetization options - an endless attempt to sell goods and services using . as well as selling you the information itself. Yes Yes! You will have to pay more for information. It's easy - hide the content, and put payment buttons in front of it or you will have to pay before downloading any file. If you want paid Internet - then install adblock. With each new installation, you bring this wonderful time closer.

How to disable adblock on a website

If you cannot opt ​​out of an ad blocker, then you can disable Adblock on sites whose owners do not abuse monetization.
When you are on the page of your favorite site, click on the adblock icon near the address bar and select "Do not run on the page of this domain". A pop-up window will open where you need to click on the “Exclude” button. There is another way to enable ads. This is adding the site to the whitelist of the plugin.



So, the second way to enable ads on the pages of a particular site. Right click on Adblo icon to –> Settings–> Show ads on a web page or domain–> enter the website address in the free field –> ok

How to disable Adblock in Opera

In Opera version 12.17 and below - select commands Instruments –>Extensions –> Extension management(hot keys CTRL + Shift + E) –> disable next to the desired plugin. You can also delete it.


In Opera above version 12.17 - click on Opera icon(located in the upper left corner) –> Extensions–>Extension manager(hot keys CTRL + Shift + E) –> disable. Here you can also remove the extension by clicking on the cross in the plugin field.

Disable ad blocker in Google Chrome

Right click on extension icon –> remove from chrome or left mouse click on icon –> pause adblock. If you turned off the visibility of the icon earlier, then you need to go to the list of extensions - the button Customizing and Managing Google Chrome(in the upper right corner of the browser) –> Additional Tools –> Extensions –> uncheck from the checkbox opposite “Enabled” or send the plugin to the cart.

Removing adblock from Firefox

In the Mozilla Firefox browser, you can also quickly disable the plugin by clicking on the icon –> Disable everywhere or go to the list of plugins - Menu –> Add-ons–> tab Extensions –> delete or disable

Removing ad cutter and Android phone

Whatever application you install to remove ads on android, it is treated by simply deleting the application itself (long pressing on the icon and dragging it to the trash).

What is uBlockOrigin

How to disable uBlock Original in any browser


Watch the video tutorial:

One of the hottest and most relevant topics among web programmers and owners of Internet resources today is seo-optimization. In order for the site to get on the first pages of Yandex or Google search queries, it is necessary to carry out tremendous work on its creation and promotion.

What is semantic markup for?

You can adapt the resource for an ordinary user with the help of relevant and interesting content. But in order for the user to be able to find this resource, it is necessary to optimize the site for a search engine. How to do it?

Unlike a person, he cannot recognize what is being discussed on the site without certain prompts. He analyzes the content, reveals certain patterns, defines keywords, but, having no human intelligence, he cannot understand the meaning of what is written. To simplify his task, the programmers came up with semantic or micro-markup for Yandex and Google. Just as hypertext tells the machine what to place where, semantic markup explains who or what the resource is about. Thanks to this understanding, the site is better ranked among competitors and has a greater chance of getting to the first lines of search queries.

An example of semantic markup

Yandex and Google markup is especially effective in promoting commercial sites offering goods and services. The following example will explain it best.

It is necessary to create microdata for a business card site for the provision of hairdressing services for dogs. It will look like this:

Itemtype - barbershop,

Name - hairdresser for dogs.

The first line specifies the area of ​​the site, and the second - a specific object. A page with such a script will appear higher on the search ladder than a similar one without it, since the search engine will consider it more relevant to the concept of “dog hairdresser” and not just “hairdresser”.

The micro-markup created with the help of Yandex.Webmaster allows you to specify many parameters - points of sale, opening hours, contacts, brief or services, and much more.

Where is semantic markup used?

More and more resources are striving to provide the user with high-quality processed material. The closer in meaning it will be to the desired one, the more efficiency it will bring to the site. Therefore, micro-markup is actively used today:

  • Commercial sites to promote goods and services.
  • Online directories and encyclopedias for the formation of multi-level links between articles.
  • Social networks for detailing profiles, events and other content.

Single Standard Schrema.org

The creation of semantic markup led to the need for a single standard for all search engines. They became the micro-markup "Yandex" and Google - schrema.org. It simplifies the process of creating a short description (snippet) that we see when a page is displayed in search results. This information can include important information about the site that will help the user decide whether or not to go to this page.

By the way, the number of elements and dictionaries in schrema is huge, so it can be used for sites of almost any subject.

Open Graph Standard

In addition to Google and Yandex search engines, micromarking of goods, services, multimedia and information content is also required for social networks. For them, Facebook came up with a single Open Graph standard. This markup allows you to control how the site will be presented in the news feed of the social network. And today you can create beautiful links with it not only on Facebook, but also on Google+, VKontakte, Twitter. For a beautiful display of the latter, by the way, Twitter Cards are also used.

What microdata to choose?

In fact, when ranking a site, neither Yandex nor Google give any standard more preference. The classic use case, schrema.org, is the most complete, up-to-date, and actively developing.

Microdata dictionaries

We have determined what Yandex markup is. How can I make it show the right information? For this, such a concept as a microdata dictionary is used. It is a set of elements, tags, and syntax that draws the attention of a search engine to something.

Each standard has its own dictionaries and elements. Schema.org has several key vocabularies with their own huge hierarchy and display types. For example, the Thing dictionary allows you to represent information in 3 main properties:

  • alternateName - for an alias (alias) of the object;
  • description - for text description of the object;
  • image - for an image or a link to it.

Or the Good Relations dictionary, which will be especially useful for online trading platforms. It allows you to post data about prices, places of purchase, availability, etc.

Dictionary FOAF - micro-markup of contacts "Yandex" and Google. This is a questionnaire that you have filled out millions of times on various sites - your name, coordinates, social network page, mail, date of birth, etc. This knowledge will allow you to persuade the user to click on the link, offering him something that may interest him. Thus, the site can increase traffic.

For a detailed description of audio and video information - artist, album name, duration - the VideoObject markup is used.

There is also markup for email messages that allows the user, without going to another page, to agree to a meeting or leave a comment under an article, for example.

What is a validator

Any promotion on the Internet requires a thorough and in-depth analysis of effectiveness. You can check Yandex markup using a validator - software that recognizes metadata on web pages. Documents of any format can be checked for correctness - HTML, XHTML, RSS, XML, in any language.

Yandex microdata is checked by any validator that supports Schema.org formats, HTML microdata, Open Graph, RDF.

How to check google markup

Find out how your site is in Google search in several ways. For an experienced user who is fluent in the hidden settings of Google webmasters, the Rich Snippet Tool, available only by reference, is suitable.

Another way is to install the Seo by Yoast plugin. It is easy to use and will be available after installation in the webmaster's top panel.

The third way is to select “Other Resources” on the Google Developers site in the toolbar, click on the “Structured Data Validation Tool” button and specify the html page you want to check. When the robot calculates the given script, you will receive a detailed report with errors, if any, and explanations for them.

How to check Yandex markup

With this search engine, everything is somewhat simpler. The Yandex markup validator is located in webmaster tools, in the “My Sites” tab. Here you need to click the “Check markup” button and enter the website URL, and the validator will start calculating errors. After a few minutes, you will receive one of three response options:

  • Micromarking not found.
  • There are mistakes.
  • Micromarking fully complies with the standard.

In what cases does information about incorrect markup appear?

"Yandex.Webmaster" - microdata validator - displays an error message in two situations:

  • When it doesn't recognize markup.
  • When microdata does not meet the standard.

In any case, the program will give error details, which can be used to judge which required fields in the markup were omitted or which attribute was omitted.

It may also give a message - "page cannot be loaded". It indicates a server error or a non-existent page.

If the Yandex markup was completed with an unknown error or you don't know how to fix it, you can always ask Yandex.Webmaster for help.

After the validation is completed, the new markup will appear within 2 weeks.

How microdata affects website ranking?

You marked up your resource according to all the rules, and the Yandex markup validator showed that everything was done without errors. How many points will your site climb up the search ladder?

Semantic markup only indirectly affects the relevance, and it is impossible to name the exact number of positions to which it will raise the site. However, micro-markup is one of the key factors influencing user attention. An interesting and attractive snippet will bring more visitors, and the position of the site will grow. The rest will depend on the fullness and relevance of the resource.

Benefits of microdata

In addition to the visibility of the resource, micro-markup significantly increases the weight and quality of the site among competitors. It is worth highlighting the following markup advantages:

  • It increases the credibility of the search engines, it is easier for the search robot to highlight the main elements of the page, which means that it becomes easier for them to index us. If we describe this process in a very simplified way, then we can say that the search engine is pleased that we open the heart of the site, our inner secrets, to him, and his confidence in us increases.
  • In the eyes of the consumer, sites with snippets look not only more noticeable, but also of better quality. Accordingly, such resources are clicked more often, which means that the CTR in the SERP or clickability increases.
  • The owner has a unique opportunity to show information that will be noticed even if the user has not gone to the site.
  • The snippet information can always be changed without affecting the resource's position in the list.

But, of course, with SEO promotion, you should not focus only on the development of microdata. It is extremely important to have useful and unique content, but not only. There are many other factors that affect the site's increase in the ranking of the search engines "Yandex" and Google.

Other ways to promote the site

Internal promotion, which includes Yandex and Google microdata, has several directions:

  • use of keywords in the domain and site headers;
  • the presence of keywords on the page itself, their uniform distribution throughout the text, location in subheadings, tags;
  • correct, error-free HTML markup (checked using Yandex Webmaster tools);
  • the presence of mega tags (keywords, description, etc.) that indicate the essence of the page to the search engine;
  • relinking - i.e. links to other pages of the site;
  • a simple site structure that allows you to navigate to the main page in a click;
  • memorable and understandable design;
  • work with social networks, the ability to recommend the information you like to others;
  • the presence of a site map;
  • unique, interesting and regularly updated content that is useful and relevant to the reader;
  • optimized CMS for fast and error-free page loading.

In addition to internal promotion, work should be carried out with external factors. A web programmer should regularly monitor whether links to the site are displayed on other resources, how weighty and authoritative this link mass is (this process is determined using thematic and weighted).

According to recent research, one of the most effective ways to promote is to discuss or mention the site on social networks. The search engine sees the active movement of this information and perceives it as relevant and in demand, thus increasing the rating of the resource.

For online stores, it is effective to use comments and customer reviews, both on the site itself and on thematic forums, portals with reviews, etc.

Instead of a conclusion

Online promotion is a complex multifaceted process that requires intensive work on various external and internal factors. It cannot be said that any of the above methods is absolutely correct, and it is he who will bring your site to the top. To be on the top lines of search queries is possible only with complex work on all aspects of SEO promotion, in particular, a huge role should be given to microdata.

It is very important to convey to the search engine that you are trying in every way to simplify its selection and do this not only for the sake of a high rating, but also for the convenience of the user, or rather, first of all, so that a person finds this information on the net.

Yandex and Google are directly interested in the user receiving the necessary information, which means that the more loyal your resource is, the greater his chances of taking a place in the top.

It doesn't matter what kind of markup you use - OpenGraph, schrema.org or some other, the main thing is that it is executed without errors and highlights the key points of the resource pages. Check it regularly with a validator, conduct an in-depth analysis of every aspect of your activity, and then great results await you!

Many have heard of micro-markup, but have never used it. The main reason is a misunderstanding of what it is and why it is needed. Now we will tell everything in order.

Semantic markup or micro-markup was introduced by search engines relatively recently. (since 2011). The main goal is to make the site more understandable for the search engine. Let's take an example right away.

It is important for the search engine to understand whether there is a phone on the site or not. A lot depends on this. The phone can be found by the mask +7 xxx xxx-xxx-xx and the like. There is no difficulty in this. But how to distinguish a telephone from a fax? If the site itself does not “tell” which number refers to what, then this cannot be done.

The same difficulty exists with the text. How to distinguish a cooking recipe from an article on the topic of cooking?

In order to solve these issues, a semantic markup of the material was created. In order not to complicate the life of web masters, an extremely simple format was created, very similar to layout.

Let's take the simplest example:

Suppose we have an excerpt from the layout of the contact page:

Everything is standard, there are no difficulties.
And now an example of the same passage, but with marked up code.

DH Agency Contacts:

Address: St. Petersburg st. Loyalties 6

Phone: +7 000 00–00–00/span>, Fax:+7 000 00–00–00 , E-mail: website

Pretty simple and intuitive, right? You only need to know the syntax. All markup is done in the site code, no additional files need to be created.

We will immediately answer the most popular questions.

Why does a website need microdata?

If the search engine understands what material is on the site, then it will try to make the snippets as attractive as possible. Arrange the price, conditions, answers / questions, reviews, etc.

For example, Yandex can write the price of a product next to your site.

In addition, micro-markup helps to more accurately understand commercial factors - phone numbers, addresses, prices, and the like.

Does the presence of markup affect the position of the site?

There is no direct impact on the position and “visibility” of the site. However, there are indirect reasons:

  1. Micro-markup affects snippets and makes the site more visible in the search results. Which ultimately leads to an increase in attendance, ceteris paribus.
  2. Yandex and Google love high-quality and understandable sites. Micro-markup is another step in bringing the site into “order”.

Do all sites need it?

Yes, everyone. Markup of contacts and other fundamental elements is desirable for any resource. But not for all types of goods and services, you can transfer data to snippets. For example, currently supported:

  • Cooking recipes;
  • Questions and answers;
  • Reviews;
  • Commodity prices;
  • Descriptions of goods;
  • Some other categories.

What are the types?

There are several options (syntaxes) to tell the robot what is on your site. The most common and used is shema.org "rules-based" markup. This is what Yandex recommends.

In addition to this markup, there is also (developed by Facebook). This type of markup is more focused on social. networks and is used by VK, FB, Twitter, Google Plus and others.

There is also another format - JSON-LD, but it is used only by Yandex Mail. It will not work to change the information in the snippets with its help.

Separately, I would like to say about. This is the same way of semantic content markup, but it is quite different from all the previous ones. Microformats are quite popular. We will write about them below.

Schema.org

Schema.org is the most popular microdata format and is understood by all popular search engines. The format allows you to describe hundreds of different entities and talk about their properties.

The markup begins with the creation of a "container" in which all the data will be located. It looks like this:

Your data will be here

Russia, St. Petersburg, st. fidelity

Detailed syntax can be found on the official website - http://schema.org. (Not official Russian translation - http://ruschema.org)

open graph

This markup is used by all popular social networks - VKontakte, Facebook, Twitter, LinkedIn. Yandex uses Open Graph to send data to its Video service.

In addition to generating previews, this format is suitable for application developers.
Syntax and detailed information can be found on the official website - http://ogp.me

Microformats

This is a fairly popular way of semantic markup for HTML pages. It allows search robots to understand the semantic meanings of the content. It was made in a rather "unusual" way. In order to pass information to the search robot, the element is assigned the "class" attribute, which has a meaning similar to the name of the property. For example, the address would look like this:

Russia, St. Petersburg, st. fidelity, 6

Unlike other formats, you do not have to write "extra" tags.

Microformats are used by many services around the world, including Yandex. True, it is worth saying that at the moment Yandex does not support all microformats. (the current list of supported formats can be found on the Internet)

Detailed information about the syntax is available on the official website - http://microformats.org/wiki/Main_Page

What is the best format to use?

Yandex assures that it does not matter to him which format you will use. But recommends using scheme.org.

Examples

We will only provide examples for the most popular schema.org. If you choose an analogue for your site, then you can always find examples on the Internet and on the official microdata sites.

An example of micro-layout of contacts:

Mark up contact information should be on all sites without exception. This will allow the search engine to understand the commercial factors, as well as structure the snippet.
With micromarking

Contact Information:

Factory address: Moscow st. Lenina 140

Phone: +7 945 00–00–00/span>, Fax:+7 945 00–00–00 , E-mail:

An example of microdata for a product:

Micromarking is most effective when describing products. The snippet contains price, benefits, product description and other important information.
With micromarking

Plush hedgehog "Uf Uf" Factory of plush hedgehogs "From the needle" Model number 964893NM Text description of the item.

Cost of goods Goods seller

An example of microdata for an article:

The code turned out to be quite large, but this is a full-fledged article markup. This is exactly how she should be. The micro-markup of the article allows you to make the snippet more structured and human-readable.
With micromarking

Breadcrumb markup example

Despite the fact that not all users use breadcrumbs, they need to be marked up. Micro-markup will not only allow the search engine to better navigate your site, but will also display a list of subsections in the snippet, which will attract attention.
With micromarking

  • Main section
  • Level 1 subsection
  • Level 2 subsection

Google and Yandex do not let webmasters sleep peacefully - they introduce new ways of ranking sites in the SERP - from the latest, taking into account the adaptability of the template on the site.
Then they stop taking into account the reference when ranking or introduce some kind of regular filters.
And now, the turn has come to the semantic markup of the site.
In general, for Google and Yandex, micromarkup and microformats are the main trend this year.
Actually, its standard appeared back in 2011, but if earlier PS offered to add it to the site voluntarily, now it is voluntary-compulsory :), since sites that do not have it began to be indexed worse, it is more difficult for them to get into the top of the issue.

These are special tag options that are added to file code or text. They describe the properties of the document. If in a simple way, with these tags we inform the search robot:

“Here is my title of the article, and this is the image, and here are the comments.
These are the names of the commentators, and this is me, the author of the site, in person. Don't mess anything up!"

From the Yandex documentation on microdata sites:


2. Why do we need semantic site markup?

It helps to build a structured hierarchy of all page data for search robots, as well as social network robots, which will improve the presentation of the site in search results.
The page marked up in this way will become more understandable and transparent for the robots of all PSs.
Although, Yandex representatives claim that the presence of semantic markup does not affect the position of the site, but experience and observations show that a marked site is indexed by PS much faster and better, and is shown in the search results 3-5 positions higher than unmarked sites.
This markup is useful for commercial sites (all kinds of services, online stores, restaurants). Also, it helps to promote corporate web resources, a variety of sites and blogs.
Compare snippets in Google and Yandex search results with and without microdata:
Google markup, rating:






The first snippet shows breadcrumbs, rating, publication date.
Yandex microdata for organizations:






The first snippet shows all contact details, opening hours, address, a link to a Yandex map, where you can track where the organization is located.
Yandex micromarkup, breadcrumbs:






The first snippet shows the breadcrumbs, the publication date.
Yandex microdata, recipes:






The first snippet shows the image of the finished dish, ingredients, cooking time, calorie content of the dish.
All this additional information is reflected in the issuance due to the fact that it is marked up on the pages of the site in a special way.

3. What are the benefits of using semantic markup?

  1. Better, faster indexing of new articles and the site as a whole.
  2. Increasing the trust in the site by the PS.
  3. Better, more informative snippets in the search results - by showing additional information: rating, price, contact details (address, phone number), etc.
  4. Improving the behavioral factors of the site (more transitions from search results).

I hope I convinced you that microdata is really needed.
Now about what kind of markup exists, as well as what Yandex understands from it.

4. Types of micromarking

In Google Search Console - there is an item "Structured data".

Fig 1 - micromarking errors

It is better to start micro-marking your site by checking this section. It's often the case that microdata inspection tools don't show any warnings or errors, but in fact, search engines have a hard time structuring the data on your site.

Fig 2 - Hentry microdata errors

In our case, we see that there are 106 errors that relate to hentry markup (microformats.org)

Micro-markup built into the core of WordPress. Since it is embedded automatically and is not adapted to third-party templates, it most often does not work correctly, and this leads to the fact that Google Search Console detects such errors:

Fig 2.1 - Hentry errors: author, entry-title, updated

But, at the same time, Google's markup checking tool absolutely calmly reports that there are no errors and no warnings about this. ()

Fig 3 - Google does not see hentry errors

On our site, we will use schema.org unanimously recognized by all search engines.

This standard is supported by both Yandex and Google.

Therefore, the built-in hentry markup, which gives us 106 errors in the Google Search Console, just needs to be removed.

Since hentry is added to the wordpress core, which allows you to remove it through filters, because these classes are not visible in the templates.

Source code to remove hentry:

Add_filter("post_class", "fc_remove_hentry", 20); function fc_remove_hentry($classes) ( if (($key = array_search("hentry", $classes)) !== false) ( unset($classes[$key]); ) return $classes; )

Code needs to be added to functions.php

This can be done by any convenient method, for example, through the editor from the site's admin panel.

Figure 4 - Removing the hentry markup from the entire site

After saving the file and re-validating the page through Google's microdata checker, the hentry should be gone.

Check a few pages that had errors to make sure hentry has been completely removed from the site.

In Google Search Console, you will see a positive trend in reducing the number of errors. Over time, they will disappear altogether, it remains only to wait.

Fig 5 - positive dynamics of hentry error reduction

How to remove error:

ERROR: field http://ogp.me/ns#image is missing or empty

Fig 6 - Open Graph ns#image error

You need to understand that such errors are associated with the already written micro-markup. That is, the site is either built-in or added by someone earlier micro-markup, which has errors.

Most often this happens when the plugins that are directly or indirectly responsible for microdata are configured incorrectly.

In our case, the site has a plugin - SEO Ultimate, which has a special section responsible for Open Graph markup. And this means that the error associated with http://ogp.me is contained in the SEO Ultimate plugin.

Go to the following path SEO Ultimate -> Open Graph -> Default Values ​​-> Default Image

We find the image setting that will be applied by default on those pages of the site where the desired image will not be found.

Fig 7 - how to fix Open Graph ns#image error

Add the URL of the image that we would like to see by default. Let me remind you that The Open Graph protocol is responsible for displaying beautiful posts on social networks, on Facebook, Twitter, VKontakte and so on. That is, this picture, which you set by default, will appear in social network posts, reposts, and so on. Choose a branded and respectable photo.

After saving the changes, the error disappears.

Figure 8 - Open Graph ns#article error

But still there is an error related to the unknown article prefix.

We already know that we have the SEO Ultimate plugin installed on our site. We continue to dig in the same direction.

Fig 9 - how to fix Open Graph ns#article error

Install Open Graph Type – Website.

Fig 10 - correct Open Graph markup

After all the changes, the Yandex markup validator no longer generates any errors:

Fig 11 - valid Open Graph markup

Adding Breadcrumbs Markup

Breadcrumbs are a chain of links from the main page to the page where the user is currently located.

First you need to analyze the site for the presence of breadcrumbs.

Fig 12 - breadcrumbs on the site

Breadcrumbs are present on the site. Now we need to understand how they are displayed. In the source code of breadcrumbs we find the name of the plug-in with which they function - Breadcrumb NavXT 4.0.2

Figure 13 - Breadcrumb output via Breadcrumb NavXT

Open the admin panel of our site and go to edit the plugin Breadcrumb NavXT.

Figure 14 - Breadcrumb NavXT Settings

We are interested in templates for different types of pages: for the main page, for a blog, for headings, and so on. You need to understand that each site will be different.

In our case, we are interested in:

  • Blog Page Link Template
  • home template
  • Blog Category Template
  • Category link template

All templates have a standard kind of type:

To get proper micro-markup, we need to markup this source code using the http://schema.org/BreadcrumbList standard

  1. Dresses
  2. Real Dresses

Let's take a look at what elements the markup contains, and how they should be applied:

itemscope itemtype=”http://schema.org/BreadcrumbList”

This element marks the start of the markup area. All that will be inside this element will be breadcrumb markup.

In the example, the element is inside a numbered list - tag

This is not required, you can use

, or other similar tags.

You need to look at the circumstances and remember that which tag you use such CSS will connect to breadcrumbs. That is, the appearance of your breadcrumbs depends on what tags you frame http://schema.org/BreadcrumbList with.

In our case, we will add this line of code via breadcrumb_navxt_widget.php widget source code

Since this file is not available through the standard WordPress admin panel code editor, we will use ftp access via filezilla.

Figure 15 - Breadcrumb NavXT Widget Settings

We find a piece of code that is responsible for micro-markup, and specifically we need a tag that frames this markup.

Fig 16 - the code that frames the Breadcrumb NavXT

Pop-up messages with audio accompaniment, animated ads and changing feeds on sites are annoying. Therefore, browser developers are taking measures to block unnecessary information, and users. But sometimes it is impossible to work with the site if a plugin is installed in the web browser that prohibits the display of advertising. For example, resources for watching and downloading movies and audio. Let's find out what needs to be done to disable the ad blocker in popular types of browsers.

Instructions for Yandex.Browser

The web browser has built-in blocking functionality and custom add-ons. To disable the prohibition of the browser itself, you need to go to the "Management" menu. It is called by a button on the toolbar at the top right - the icon of three horizontal stripes. From here you need to go to the "Settings" menu, then click the "Show advanced ..." button. Here, uncheck the box next to the item in the "Block shocking ads" list.

If, when debugging the browser, the user made additional changes, namely, installed special plug-ins, then they must also be disabled. They do it like this:

  • Go to the "Management" menu;
  • Select "Additional";
  • In the new window, opposite all ad blockers, drag the slider towards "Off";
  • Save changes.
To confirm the actions of Yandex. It is better to restart the browser. Some applications may not take effect after normal saving changes.

Instructions for Google Chrome users

Google also assumes the use of its own and custom blocking functionality. Only in this web browser, built-in security works on a per-site basis. It's easy to turn it off. You need to open in the browser tab the site on which you want to disable ad protection. Then, on the left in the address bar, find the lock icon or the English letter “i” in a circle. Click on them and go to "Site Settings". Here, in the list of commands, select "Advertising" and in the menu on the right, select the "Allow" mode.


If the user has installed a protection plugin, then to disable the blocker in the Google browser, do the following:
  • Go to "Settings and Management" (ellipsis icon at the top right of the window);
  • Select "Additional tools";
  • Click on "Extensions";
  • Drag the slider to the Off position or remove ad-blocking extensions.



After making changes to Google Chrome, the browser must be rebooted. Especially if the edits were made to the built-in functionality.

Disabling Adblock in Firefox web browser

The browser itself provides only pop-up blocking. This feature is set by default for every site opened in Mozilla Firefox. It's easy to turn it off. You need to open a browser window, go to "Open menu" (the icon with stripes in the upper right corner) and select "Settings" from the list. In the window that appears, select "Privacy and Protection" from the list on the left. Here, scroll down the list and find the "Permissions" item. Uncheck the box next to "Block pop-ups".


If the browser has manually installed plugins and extensions, then they are disabled like this:
  • Go to "Open Menu";
  • Select "Add-ons" from the list;
  • In a new window, from the list on the left, go to the "Extensions" item;
  • In the block in the center of the window, find all blockers and click "Disable";
  • Restart Mozilla Firefox.


Mozilla, as in Google Chrome, provides the user with the ability to install a large list of extensions that disable ads. Therefore, you need to carefully review everything on the list.

Instructions for working with the Opera browser

The developers of Opera acted a little differently. The browser has a built-in powerful Ad-block and pop-ups, but it is not activated by default. Therefore, if the user did not change the developer settings after installing, then the procedure for disabling the built-in functionality can be skipped. If edits have been made, then you can undo them by going to "Settings and Controls" (the Opera icon on the top left panel). Here select "Settings" and uncheck the box next to the first menu item.


When manually installing extensions, they can be canceled as follows:
  • Go to "Settings and controls";
  • Find and select "Extensions";
  • From the new list, select "Extensions" again;
  • In the block that appears, click the "Disable" button under the add-on that prohibits ads;
  • Restart Opera.


All web browsers provide a function to disable and remove the plugin. If it disappoints - skips pop-ups, removes not all ads, etc., then it can be removed. Replace it with a new extension. But if there are no complaints, it is better to perform a temporary shutdown so that in the future you do not have to perform the installation procedure again.

If you asked this question, then you are a fairly experienced user and you know about the existence of such an add-on as Adblock, which hides almost all ads from the eyes of users. It would seem a useful plugin, so why disable it then? Undoubtedly, with its help you can get rid of colorful and intrusive banners, teasers, clickers and other types of advertising that distract from the main content of the site with their colors or sounds. However, some sites begin to display incorrectly, which makes it difficult to read articles, watch pictures or videos on them. That is why we decided to tell you how to disable the Adblock plugin in order to browse your favorite site in normal mode.

How to disable adblock plugin in chrome

To get started, we suggest looking at the shutdown process in the most popular browser today - Google Chrome! Well, let's not delay, let's get straight to the point:

1. Open the menu by clicking on the button on the right side (located at the very top);
2. Click on “Settings”, after which the page with settings opens, but we don’t need it - we move on;
3. Switch from settings to “Extensions”, after which a page with all add-ons opens;
4. Uncheck the box next to “Enable”;
5. Done! Now Adblock does not prevent your favorite site from displaying in normal mode!

How to disable the Adguard plugin in Yandex Browser

In principle, everything is the same in Yandex browser as in Chrome, because they have the same source code. But we'll explain anyway:

1. Click on the “Menu” button, which is located on the top right;
2. A list drops out where you need to click on the “Add-ons” section;
3. The page with extensions opens. They are divided into categories;
4. Scroll it to the very bottom and find the Adguard plugin for us (the same Adblock only specifically for Yandex Browser);
5. Move the slider opposite it and the extension becomes inactive.

Disable the Adblock plugin in Mozilla Firefox

As you have already noticed, the process of disabling the plug-in is actually the same in all browsers, only the names of the menu and the add-on itself have been changed (in the case of Y. Browser), and Mozilla was no exception:

1. Click all on the same button to open the menu;
2. Click on the icon, under which is the inscription "Add-ons";
3. The extension store opens. We do not need it - we pass by;
4. In the menu on the left, click on “Extensions”;
5. Actually, now the most interesting thing is that we find Adblock among the plugins and click on the “Disable” button;

How to disable adblock extension in Opera browser

And finally, we will please people who use Opera as their main browser:

1. Click on the “Opera” logo in the upper left corner, open the menu;
2. Point the arrow at “Extensions” and go to “Extensions Manager”;
3. A page with installed plugins opens;
4. We find our favorite Adblock among the add-ons and disable it by clicking on the “Disable” button;

7 Answers


Use my "FuckAdBlock" plugin, it can detect AdBlock very easily: https://github.com/sitexw/FuckAdBlock

FuckAdBlock.on(true, function() ( alert("AdBlock detected !"); )).on(false, function() ( alert("AdBlock is not detected =)"); ));

javascript html

2018-11-27T00:00Z

If you want to show ads even when AdBlock is active, you will need to understand what AdBlock is capable of doing.

  1. AdBlock can block resources on loading
  2. AdBlock can hide certain elements in the DOM.

Although it says that AdBlock can also modify CSS, I can't find any documentation on this other than hiding and collapsing elements.

So what exactly could you do to be "smarter" than AdBlock?

You can mask your request in such a way that it is never "suitable" (e.g. http://domain.com/ae9a70e0a.png , where the image name will be random each time and without a common prefix). As far as I know, a rule in AdBlock cannot contain a regular expression. The rule will equal neither ads nor too many resources. It would be possible to rewrite such a URL on the server to point to your ad.

However, while AdBlock won't be able to block your ad from loading, it will still be able to hide it. There is no real way around this. There will always be a smart CSS selector that will -just- select your element. However, you can add a background image with content. This is not useful for an ad (not clickable), but may help you display a different message. The downside is that if someone decides to block that annoying background image, it will also hide your content.

As for the script, you can load the ad with an ajax request. I believe (but cannot verify) that it will give an error if the resource cannot be loaded (because it has been blocked). ($.ajax(request).error(function() ( ... )); in jQuery or some equivalent in plain javascript). You can use this to do something else. You can include this in the document itself instead of an external resource to ensure it will always work (if javascript is enabled). Even then, you can't be sure that "whatever you do" will never be prominently displayed. As a last resort, you can do window.alert(...) . Let's assume that within 3 pages your visitors will never come back if you use this.

Another way I can think of is to make a websocket on the server (afaik, this can't be blocked by AdBlock). On the server side, you will need to check if the ad pages are loaded when a certain page is loaded. This information can be sent over a socket, which can be used in your script to do "something". This, however, seems insanely complex and is a significant overhead for "just" the script that AdBlock detects.

2018-12-11T00:00Z

Function detect() ( //create a iframe. Append the iframe to the body. And then after 100ms check if their offsetHeight, display or visibility is set such a way that user cannot see them. //In the URL use the words specific to advertising so that Adblock can do string matching. iframe.src = "http://domain.com/ads.html"; document.body.appendChild(iframe); setTimeout(function() ( var iframe = document.getElementById("ads-text-iframe"); if (iframe.style.display == "none" || iframe.style.display == "hidden" || iframe.style.visibility == "hidden" || iframe.offsetHeight == 0) ( alert("Adblock is blocking ads on this page"); iframe.remove(); ) else ( alert("Adblock is not detecting ads on this page"); iframe.remove(); ) ), 100); )

2018-12-18T00:00Z

In my case, ADB was hiding content even when there were no ads. (Simply because the ad word was present in many URLs because it was a post type pool).

But I've noticed that they don't remove content just by applying display: none of them

Since the additional solution

I just noticed that using display: block! important; to the body, prevents Adblock plus content from being hidden

2018-12-25T00:00Z

None of the tricks worked for me, maybe I was doing it wrong. but this is a very specific way of implementing Google ads.

Window.onload = function() ( if (document.getElementsByClassName("google-auto-placed").length == 0)( // Adblock Detected ) )

If you plan to put this code in a separate .js file, make sure the filename is does not contain the word "Ad" in it. just name it magic.js

If Google ever decides to change the div's name, this method will fail. but this seems unlikely.

2019-01-01T00:00Z

Of course it's an arms race and I support anyone's right to block ads, but I also support websites that depend on ad revenue trying to convince users otherwise or maybe convince them to subscribe or donate to compensate. lost ad revenue. I don't approve of sites that try to get users to see ads, but a polite message is fine.

Anyway, right now it's worth noting that there are many extensions/plugins for adblocking and they can have different ways of doing it and sometimes they differ between OS and browsers. I found that for my purposes right now, this jQuery selector is enough to at least see if AdBlock or AdBlockplus is being used, cross-platform at least in Chrome and Firefox:

If($("div iframe:visible").length == 0) ( // pop up a message or whatever )

2019-01-08T00:00Z

I know this is a bit old, but here is IMHO the best way to do it:
Add this to the section:

Now you can use the ab-message identifier wherever you want to display a message to AdBlock users:

Note that the inline style is added to hide it natively (of course you can also do this from your own CSS file).
Also note that this takes 500ms, this is because it has to wait for the ad unit to do its job or it won't work.

A small explanation of how this script works

First, it adds an iframe with a randomly generated link source. (It is generated randomly because some ad units are smart, at some point they realize that the link is fake).
It then performs a few checks on that iframe (if it was loaded successfully or if its style was changed). If one of these tests is true, then it renders the ab-message element for adblock users.

This script works for most (if not all) ad blockers.

EXTRA

Actually, the entity couldn't just be created, but instead I created a Github project, but still, check it out and run it if it helps you.
abDetector: A simple JavaScript Adwords detector.
Enjoy.

This latest article is written to provide up-to-date information on removing redundant links from Blogspot templates as well as new Blogger themes. As you know, there have been changes in the Blogger codes in 2018, so many code actions need to be done in a new way. Plus, there are new themes that are formed differently. In connection with these changes, we will analyze the topic of deleting links.
You can check your blog for external links on the services https://pr-cy.ru/link_extractor/ and https://seolik.ru/links. Do not forget that you need to check not only the main page of the blog, but also the page of records (posts) and pages (Page). A large number of external links open for indexing hinder.

How to Remove Links from the Old Standard Blogger Template

Using the Simple template as an example.
Such templates give the most inbound links. In my test blog, when installing a simple theme, when checking, 25 external links were found on the main page, of which 14 were indexed.
I remind you that before making changes in the template code, make a backup copy!
  1. Remove Blogger Link - https://www.blogger.com/. This link is wrapped in an Attribution widget. In the “Blog Design” tab, it appears as the Attribution and Gadget. To remove it, go to the "Theme" tab-> edit HTML. By searching for widgets (list of widgets), we find Attribution1 and delete all the code along with the footer section in which it is enclosed. This is what the removed code looks like in collapsed form:


    And so the full code:











    We save the changes and check the blog for Attribution.
  2. You have certainly seen the “Wrench and Screwdriver” icons on your blog for quick editing of widgets. Each such icon carries with it an external link to Blogger. Now they are closed by the nofollow tag, but you still need to get rid of them. You will edit widgets in the Design tab.
    Here is an incomplete list of links that are encrypted in wrench icons (the blog ID will be yours)
    - HTML1 Widget: http://www.blogger.com/rearrange?blogID=1490203873741752013&widgetType=HTML&widgetId=HTML1&action=editWidget§ionId=header
    - HTML2 widget http://www.blogger.com/rearrange?blogID=1490203873741752013&widgetType=HTML&widgetId=HTML2&action=editWidget§ionId=header
    - Blog archive: http://www.blogger.com/rearrange?blogID=1490203873741752013&widgetType=BlogArchive&widgetId=BlogArchive1&action=editWidget§ionId=main
    - Blog Labels: http://www.blogger.com/rearrange?blogID=1490203873741752013&widgetType=Label&widgetId=Label1&action=editWidget§ionId=main
    - Popular posts: http://www.blogger.com/rearrange?blogID=1490203873741752013&widgetType=PopularPosts&widgetId=PopularPosts2&action=editWidget§ionId=main
    All these links are easy to get rid of. Find the tag in the blog template. It occurs as many times as there are widgets on your blog. Remove all occurrences of the tag.
  3. We remove links to quick editing of a blog entry (the “Pencil” icon). Makes it easier to edit posts, but carries the threat as an external link of the form: https://www.blogger.com/post-edit.g?blogID=1490203873741752013&postID=4979812525036427892&from=pencil
    How to delete:
    Method 1. In the Design tab, edit the "Blog Posts" element and uncheck the "Show "Quick Edit"" checkbox.
    Method 2. find the tag in the blog template and remove it. Save your changes and check your blog for the icon and link.
  4. Delete Navbar. Search for widgets in the html template of the Navbar1 blog and delete all the code along with the section.

    Namely:

    Now the Navbar on the blog does not provide indexable external links, but I believe that this is an extra element that does not carry a functional load, and it is better to remove it.
  5. Remove external links to images. When images are uploaded to a blog post, a link is automatically embedded in them. To remove such links, you need to edit all blog posts. In the “View” mode and then to the “Link” icon. If the image does not contain an external link, then when you click on the photo in the post editor, the “Link” icon is not active (the icon is not highlighted).

  6. Remove the link to the blog author's profile. Delete the author of the blog under the entry. To do this, find the code true and write false instead of true. It will turn out false
  7. Close the link from the “ ” widget from indexing with the nofollow tag. If you use the “profile” widget in your blog, then use a quick widget search in the blog template to find the Profile1 gadget code. You need to edit the widget code, replacing rel='author' with in two places and adding to the two links. You should get something like in the screenshot:


    Made using the example of editing a Google Plus profile. As a reminder, Google Plus will be phased out on April 2, 2019. Accordingly, after this date, it will be necessary to make other changes in the code of the “About me” widget.

  8. Check for external links on any Blogspot post page that has comments. Find and delete the code in the blog template:

    In the Blog Settings along the path Blog Settings -> Other -> Site Feed -> Allow Blog Feed, apply the following settings:

Remove external links from the new default Blogger template

Using the Notable theme as an example
  1. Removing Attribution (link below - Blogger Technologies)
    We find Attribution1 in the widget search blog template (list of widgets) and delete the code along with the section by analogy with the old Blogger template (see above 1).
  2. Remove the link from the "Report Abuse" widget. This is the ReportAbuse1 widget. We find in the search for widgets:
    The whole code looks like this:
  3. We check the blog post page with comments and remove links by analogy with the old blog templates (see above - point 8).
  4. Remove links from blog posts that are embedded in post images (see point 5).

Ad blocking is a real problem for all bloggers and site owners whose only source of income is advertising on their own site. Let's take an objective look at the ways to interact with visitors who block ads. Attention! The ethical aspect is not considered in this article!

1. Do nothing

This issue should not be taken exclusively in black and white. Ad-blocking visitors use server resources and download the feed, but the site can benefit from users in less obvious ways. For example, a visitor will give friends a link to your article, photo or video. These acquaintances will visit the site and will probably not block ads. An ad-blocking visitor will leave a comment in the discussions, which is useful for the page from an SEO point of view (if, of course, it is relevant). The comment may be useful to readers or the author of the article.

In short, if you are an optimist. If all of the above applies to your resource, the best solution is to take no action. In the case of the site, I am guided by these concepts and I am glad for any visitor, and advertising takes up less than 10% of the space from the content, I think this is tolerable.

2. Ask not to block ads

The site recognizes blocking due to the use of "simulators" of advertising scripts (if the script is not executed, then the visitor uses programs like "adblock"). Politely and calmly explain that ad blocking prevents the site from loading completely harmless content. Ask the user to whitelist the site and the ad will load. This is a very elegant and efficient way to solve the problem. When a user understands that useful content is hidden along with ads, he will probably make an exception for your site and whitelist it.

For CMS WordPress, there are many anti-blocking plugins that do an excellent job and contain a lot of useful options.

For example, you can set the number of pages viewed, after which the user sees your request. Specifies whether the message is at the top of the screen or in a pop-up window.

On one of my sites, I show users this message (see below). If you want, download this picture for your website.

I strongly recommend that you see what the user you are asking to allow ads to see will see. If the page looks much nicer without ads, then it is worth working on its design. Personally, I think being selective in your ad choices is a big step forward, which brings us to the next chapter.

3. Work with trusted advertisers

Advertising networks randomly pull ads from their huge library, and among them there are often frankly poor-quality and unscrupulous ads calling for downloading some dubious software, winning a free iPad or earning extra money. I am sure that site owners and developers should take a more responsible approach to the choice of advertising displayed on their own sites. Advertising is a necessity, which cannot be said about deliberate deception. Read the article about, don't get hung up on just one.

4. Set up a redirect

The most brutal way is to redirect users to another site, preventing them from viewing your site. on the page, indicating on it the reasons why the user does not deserve information on your site. Particularly vindictive webmasters prefer to redirect to a site with shock content. This is, of course, the worst option offered, as it is extremely annoying for visitors.

Added to the loss of revenue due to blocked ads is a dissatisfied visitor who could become a regular user. Some site owners are fine with this approach, since users who block ads are not allowed to watch content without giving anything in return. Especially if the smallest thing is expected from visitors - to click on an advertising banner and download some 90 kilobytes of a page.

A special plugin for WordPress, which would perfectly cope with this task, has not yet been developed. I wrote a small jQuery script to determine the size of an ad container after the page has loaded. If the container size is 0 pixels, then the ad did not load and a blocking occurred. Before using the script, give the container a CSS style id, or place the ad code in div tags, where you specify a specific id.

Place this code on a page (such a page will not be validated against html code standards, with the exception of HTML5, but this snippet will not affect the operation of the site in any way).

We will be happy to answer your questions and help you implement the described methods. Just let's stick to the technical side, and not talk about the moral aspects.