Giter Club home page Giter Club logo

zhurlchain's Introduction

🀄️ 🌏 🔗 ZhUrlChain | 一个链接领略中文互联网的魅力

链接

Usege

$ npx jsr add @yarna/zh-url-chain
import { genZhUrlChain } from "@yarna/zh-url-chain";

let urlChain = genZhUrlChain("https://google.com")

这是什么?

在网站中跳转到第三方链接时,会有一个跳出提示的页面,这常被称为 「链接过滤器/Link Filter」、「链接垫片/Link Shims」、「中间页/Intermediary Page」。

在上古时代,这或许是为了维护搜索引擎权重(但早就不再有效),或许是为了统计出站点击量。但后来这更多的是一种防止恶意链接的安全措施(例如外链一个和当前网站外观一样的钓鱼站点诱骗用户输入密码)。

不仅仅是中文互联网的站点,很多网站都有类似的机制,比如 Facebook, Steam

但是,为什么我们的感受中这种机制在中文互联网站点中更为常见呢?因为这种机制在国外的站点只在比较大型的网站中使用,而且为了保持一定的用户体验,往往不是每个页面的外链都会触发,遇到的概率没有那么大。

而国内的站点只要稍微大一点,就会使用这种机制,因为的国内的备案网站,会时常被网信办的爬虫检查(还有云服务提供商的自查),如果检查到某个外链有不符合国内法规的问题,会影响备案和运营,所以有很强的动机把外站链接都做成是动态跳转的,不被静态抓取,避免麻烦。

🫡 所以这种「外部链接跳转页」在中文世界大放异彩,它不仅是一道坚固的网络安全防线,保护亿万网民免受恶意链接和网络诈骗的侵扰,更是一项创新的技术实践,体现了中文互联网对于用户体验和内容管理的深思熟虑与不懈努力。 通过这一机制,中文互联网站点展现了其对于维护网络环境健康、促进信息安全的高度责任感,同时也彰显了对于法律法规的尊重与遵循。外部链接跳转页的普及和优化,不仅提升了用户的网络体验,还为网站运营者提供了有效的版权保护和法律风险防控手段。 这一机制的成功运用,是中文互联网智慧的结晶,是技术与法规相结合的典范,是中文互联网不断创新、追求卓越的生动体现。让我们为外部链接跳转页在中文世界中的大放异彩点赞,为它所带来的积极影响和贡献致以崇高的敬意!

Next

下次让我们去到欧罗巴,领略 Cookie Policy 弹窗的魅力。

zhurlchain's People

Contributors

yarna avatar

Stargazers

Harvey Qiu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.