Searching gmail at google.com - strange things happen [closed] - html

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I've been looking this days to the code (using google chrome and its Inspect element feature) of several pages in order to see what they are doing (javascript, css, html, etc...) and I've seen something strange when searching for gmail at www.google.es (It's the same with www.google.com)
Just go to the link or search it yourselves and you'll see:
What is that line doing there? I already tried cleaning my monitor but it's not that ;)
I tried to look at the code in order to see if I could understand what is going on but I can't see anything strange:
Any ideas?

It is actually a single unicode character ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎ which has an unicode entities of \u0e0f\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e\u0e4e
Basically the diacritical mark (commonly used for accented letter) was added to the letter 26 times.
It has nothing to do with google itself, that character was in the meta tag of one of the sites it crawled and thus shown in the search result.
The link Alex posted, provides detailed explanation on this.

Related

What does colon tilde colon (:~:) mean in URL hash fragment? [duplicate]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
The community reviewed whether to reopen this question 2 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
Today I noticed that some searches on Google gave me links to results with apparent instructions to highlight text.
Google brought me to What is the maximum size of a zip file on Windows 10 Pro 64... at the following url:
https://superuser.com/questions/1305867/what-is-the-maximum-size-of-a-zip-file-on-windows-10-pro-64-bit#:~:text=4%20GB%20size%20is%20a,about%2016%20exabytes%20size%20limitation
I experimented a little bit further and this seems to be a feature of Google Chrome. It highlights text on the page if you append #:~:text=something to the URL. https://example.com/#:~:text=domain seems to work fine, but only on Chrome (Chrome Beta on the left, Firefox on the right).
The word text together with different characters is a bit hard to google, so I couldn't find anything on the subject.
For finding out more information about these kinds of "URL-hacks" I want to know:
What is this feature of Google Chrome called?
Scroll To Text Fragment
OK, with the help of a friend and at the same time via a comment from Berto99 I found it:
Apparently this is a feature called Scroll To Text Fragment. It is enabled by default since Chrome 80, but apparently not yet implemented in other browsers.
There are quite nice examples in the "W3C Community Group Draft Report". More good examples can be found on Wikipedia.
Highlighting the first appearance of a certain text
Just append #:~:text=<text> to the URL. The text search is not case-sensitive.
Example: https://example.com#:~:text=domain
Highlighting a whole section of text
You can use #:~:text=<first word>,<last word> to highlight a whole section of text.
Example: https://stackoverflow.com/questions/62161819/what-exactly-is-the-text-location-hash-in-an-url/62162093#:~:text=Apparently,Wikipedia
More advanced techniques
Prefixing and suffixing like the example suggested in the repository for the suggestion https://en.wikipedia.org/wiki/Cat#:~:text=Claws-,Like%20almost,the%20Felidae%2C,-cats texts as proposed don't seem to work for me (yet? I use Chrome 83).
You can style the look of the highlighted text with the CSS :target and you can opt your website out so this feature does not work with it anymore.

Google indexing uses content instead of description [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have a page with meta description, but for some reason Google indexing sources its value from the content of the page, and not even from the beginning of the text, but from a sentence in the middle of the paragraph. I've checked the html, but don't see any reason for it. Robots are not affecting this page either. What else could be the reason? Forgot to mention I'm using Umbraco 4.7
The snippet Google shows will generally be related to the query the user has entered. In some cases, this will match well with your meta description, but if there is content elsewhere in the page body that better matches the user's search, then Google will show that part of the page instead.
This article on Moz.com goes in to a bit more detail on how you can gently steer Google in the right direction towards your meta description, but ultimately it's not something you can control.
So, is there anything you can do to bend Google to your will and always use your META descriptions? Unfortunately, the short answer is "no". Like so much of SEO, though, there are some ways to nudge Google in the right direction

How to find out who is using my code? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I suspect that someone has copy-pasted my website HTML and is using it as their own. How can I find out who it is? Is there any way to track them down?
I know that I can reverse-image search.
Is there a way to search the internet by webpage html fragments?
If they didn't rehost my resources, is there a way to check who is hotlinking my CSS or JS, if anyone? (what this person mentioned but didn't explain Hotlinking my Cascading Style Sheets )
You can check the request body fields, assuming that they're stealing your server's bandwith. You can also write a crawler that tries to match your html with other but It won't be reliable. Maybe you can use Google to find specific html blocks: http://en.wikipedia.org/wiki/Google_hacking

Notepad++ does not highlight css inside HTML file [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
In Notepad++, there is no syntax highlighting for CSS inside a HTML file. Is it possible to enable it?
This question has been answered in superuser Different Language Syntax Highlighting. To sum it up, np++ does not support this feature with HTML and CSS, but it does with HTML and JS. There are a few links in the responses to the question which should be helpful in finding a tool that does support multiple languages.
My suggestion is to go to np++ and request the feature. If enough of us do it then maybe they will pay attention.
I always just create a second np++ file and mark the language as CSS, then once I'm done copy it over to the HTML file. :)
May not answer your exact question, but that's the way I work around it.
Try another editor similar to Notepad++, SynWrite, it has such a CSS feature.

How can I make Google Maps show me foregin countries in English (with English letters) in the Google Chrome browser? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
In Chrome every location is written in it's native form and I can't read cyrillic or Chinese. If I open Google Maps in IE the names appear in English but who wants to use IE for anything ever? Google's forums were unhelpful and a message to them was unanswered. Is there a plug-in or something for Chrome to fix this?
As far as I know - all you need to do is click on the top right corner drop-down button - and then click on "English" - that turns all the text to English.
Works for me :)
The option can be found in the upper-right dropdown in the maps region (not top navbar).. what you're looking for is the dropdown arrow (below 'Traffic'), where you can select to show things like 'Weather', 'Labels', etc. - 'English' is also one of the options, select it (adds a check mark next to the option). By doing so, the names on the map will all change to English.