obscured-view

Hide links from Google via JavaScript

|▌冷眼眸甩不掉的悲伤 提交于 2021-02-05 07:39:44
问题 We have some links we want to hide from Google, using Javascript to "hide" the link but let it work for the real clients. I was told from the SEO agency that the best method is to base64 encode the link and call it via javascript: <a data-href="RdcDovL1N0YWdpbmc...base64...hhcmRpbmctaGVycmVuLWhlbaQtMTgyMDg3" href="#">Link</a> <script> <!-- var _dlist = document.getElementsByTagName('A'); for(i=0;i<_dlist.length;i++) { var _data = _dlist[i].getAttribute( 'data-href' ); if( _data !== 'null' ) {

Hide links from Google via JavaScript

99封情书 提交于 2021-02-05 07:39:16
问题 We have some links we want to hide from Google, using Javascript to "hide" the link but let it work for the real clients. I was told from the SEO agency that the best method is to base64 encode the link and call it via javascript: <a data-href="RdcDovL1N0YWdpbmc...base64...hhcmRpbmctaGVycmVuLWhlbaQtMTgyMDg3" href="#">Link</a> <script> <!-- var _dlist = document.getElementsByTagName('A'); for(i=0;i<_dlist.length;i++) { var _data = _dlist[i].getAttribute( 'data-href' ); if( _data !== 'null' ) {

ClearCase: Files in 2 branches obscure each other

☆樱花仙子☆ 提交于 2019-12-23 03:35:07
问题 I have checked in the same file (filename) twice in 2 different branches (say, development and release). This breaks just about anything, so I want to take 1 version and "properly" copy/merge it to the other branch, later merging in the lost changes manually (from a backup). Then I would lose history for 1 file but at least the 2 files would be connected again. How to do it? Also note, since the connection is broken, I cannot mere, also, when doing a Version Tree, both files have different

Analogue of android:filterTouchesWhenObscured for API level below 9

[亡魂溺海] 提交于 2019-12-22 08:55:32
问题 Starting with API level 9, there's android:filterTouchesWhenObscured attribute and corresponding setFilterTouchesWhenObscured method on ViewGroup . For example, when a view has onClickListener set and another view obscures that view (e.g. an overlay panel, a toast, or anything else), then touches will not be passed to the obscured view - in my example, onClick will not be fired. However, this is not available in API level 7 - and for my project the requirement is Android 2.1 and above, which

ClearCase: Files in 2 branches obscure each other

点点圈 提交于 2019-12-06 14:56:48
I have checked in the same file (filename) twice in 2 different branches (say, development and release). This breaks just about anything, so I want to take 1 version and "properly" copy/merge it to the other branch, later merging in the lost changes manually (from a backup). Then I would lose history for 1 file but at least the 2 files would be connected again. How to do it? Also note, since the connection is broken, I cannot mere, also, when doing a Version Tree, both files have different version trees. (It is not 2 views at different files in 1 Version Tree, like is the normal/correct case.)