Articles Tagged 'aggregators'

Hide me

A feature of the sheets of styles (the files. Css) is that it can be specified depending on the average output. The Style Sheets allow you to specify the same class, the same the same ID tag, etc. ... for different media. For example, I can write a file. Css with the following syntax:

1
2
3
4
5
6
7
@ Media screen {
display : none } mybox # div {display: none}
}

@ Media print {
display : block } mybox # div {display: block}
}

non sarà visibile sul browser, sullo schermo, ma quando provo a stampare la pagina troverò un contenuto diverso da quello che mi aspettavo. What it comes at the end, is that the content of the DIV with id myBox will not be visible on the browser screen, but when I try to print the page, find a different content from what I expected.
Search engines, spiders, crawlers and aggregators, usually (for now) do not solve the css file. They are interested in viewing the content not the formatting. However, this technique could have interesting implications if not disturbing. Because of the characteristics of systems of indexing a situation like the one shown below would be at least curious:

1
2
3
4
5
6
7
"visibile_a_video" > < div id = "visibile_a_video">
p > < p > Content visible to video </ p >
</ div >

"visibile_in_stampa" > < div id = "visibile_in_stampa">
p > < p > Content visible in print </ p >
</ div >

Correlated with a file. Css like this:

1
2
3
4
5
6
7
8
9
@ Media screen {
display : block } visibile_a_video # div {display: block}
display : none } # visibile_in_stampa div {display: none}
}

@ Media print {
display : none } # visibile_a_video div {display: none}
display : block } visibile_in_stampa # div {display: block}
}

Google, for example, indicizzerebbe both the contents of our HTML, even if the screen would be able to see only one. If we print the page would find with surprise new content. The trick, however, would be revealed by eliminating the application of styles in browsers that support it. Normally no one performs an operation like this when surfing the Internet. Such an investigation would arise only after finding a mismatch between what is visible on screen and what was printed!

To date I have seen no cases of this type of blatant manipulation via CSS. At one time it was raising its visibility on the Internet by entering a series of texts, words, of the same color as the background of the webpage, so as to make such artifice dark eyes of navigators. By the time the engines are indexing cautioned against such "fraud". Maybe it's time to anticipate some joker before creating a precedent?

Currently, the style sheet are used to specify a range of media type of output. For a complete list see the W3C .

More ...


Stop SOPA