Showing Thumbnail for link in WhatsApp || og:image meta-tag doesn’t work

I belive you need to add itemprop to the og:image meta tag, have the image size set to 256×256 and also it would not harm to add the site_name, type and updated_time properties either 🙂 <meta property=”og:site_name” content=”San Roque 2014 Pollos”> <meta property=”og:title” content=”San Roque 2014 Pollos” /> <meta property=”og:description” content=”Programa de fiestas” /> <meta … Read more

Disabling android’s chrome pull-down-to-refresh feature

The default action of the pull-to-refresh effect can be effectively prevented by doing any of the following : preventDefault’ing some portion of the touch sequence, including any of the following (in order of most disruptive to least disruptive): a. The entire touch stream (not ideal). b. All top overscrolling touchmoves. c. The first top overscrolling … Read more

How do I get the information from a meta tag with JavaScript?

The other answers should probably do the trick, but this one is simpler and does not require jQuery: document.head.querySelector(“[property~=video][content]”).content; The original question used an RDFa tag with a property=”” attribute. For the normal HTML <meta name=”” …> tags you could use something like: document.querySelector(‘meta[name=”description”]’).content

Force browser to clear cache

If this is about .css and .js changes, then one way is “cache busting” by appending something like “_versionNo” to the file name for each release. For example: script_1.0.css // This is the URL for release 1.0 script_1.1.css // This is the URL for release 1.1 script_1.2.css // etc. or after the file name: script.css?v=1.0 … Read more

vs

In HTML5, they are equivalent. Use the shorter one, as it is easier to remember and type. Browser support is fine since it was designed for backwards compatibility.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)