[Sina SAE] Remove the annoying real-name authentication prompt (discussion)_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:46:22
Original
1531 people have browsed it

Remove small tail from HTML page

Recently, Sina’s SAE started real-name authentication (http://sae.sina.com.cn/ New registration is still free , but it’s so annoying that I would advertise).

If you access the page on the server without authentication, you will be prompted for authentication, as shown below:

Tucao:

Real-name authentication requires taking photos and also requiring All kinds of information, worried about advertising harassment and privacy issues...

And I used SAE because I was too lazy to configure the server locally (annoying SQL service on boot, Apache with various security risks..., throw it all away) Throw it away~), I played with the robot response on the WeChat platform. In fact, I was the only one accessing it, so I planned to use up the data before making any plans...

The solutions found in Du Niang are various. It was irrelevant, so I took a quick look at it when I felt irritated. I saw that SAE automatically added a

<div style="z-index:2147483647;position:fixed;_position:absolute;top:0;left:0;right:0;padding:12px;background-color:rgba(0,0,0,0.5);filter: progid:DXImageTransform.Microsoft.gradient(startcolorstr=#7F000000,endcolorstr=#7F000000);color:#fff;text-align:center;font-size:16px;font-family:simsun,serif;cursor:default;"><p style="margin:0;padding:0;">该页面的提供者尚未完成<a style="text-decoration:none;color:#37afe4;" target="_blank" href="http://sae.sina.com.cn/?m=faq&amp;a=view&amp;doc_id=22">实名认证</a>,您的访问可能存在风险</p><a style="position:absolute;right:12px;top:50%;font-size:20px;color:#fff;border:none;margin:0;padding:0;;margin-top:-10px;line-height:20px;background:none;cursor:pointer;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;outline:none;" onclick="this.parentNode.style.display='none'">&times;</a></div>
Copy after login

at the end of the unauthenticated page. The idea is to add the HTML comment tag "