Code Monkey home page Code Monkey logo

bch123.org's People

Contributors

cyio avatar

Watchers

 avatar  avatar  avatar

Forkers

mynicz

bch123.org's Issues

503 Service Unavailable

对 btc.com 发两个请求,总是一个成功,一个 503
应该是对同时请求数有限制

搜索框清除按钮

necolas/normalize.css#685

macos 下,chrome 和 safari 会显示清除按钮,为了统一,normalize 把这个去掉了
这种情形,确实应该先去掉,然后由设计者考虑是否要添加这外按钮

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

手动实现
HTML Textbox with a clear button in Pure CSS and without JavaScript

多页

多页目前有哪些问题?
哪些情形使用独立页面?是否能放置完全独立的页面,甚至不用 vue?

主要是 hash 引起的问题
暂时不知道如何配置 history mode
尝试页面分离?

避免使用子路径,多用 ? 参数,是否能解决
防止访问不到的路径,被微信 404 拦截

如果多页依然用框架,意义不大,除非业务本身确实代码量很大了,或者为了路径考虑
尽量不用框架,框架太重了,首次加载慢

多页 service worker 能共享注册?vender 是同一个

不用框架,要面临一系列问题,如浏览器兼容,CSS 补全,无法安全地使用新特性如 ES6

尽量本地测试 build

涉及分享,需要独立访问的,使用 query 保证可访问性

vue hash模式微信分享#号问题

问题描述:
在微信中分享到朋友圈或好友时,分享出去的路由被破坏,打开分享的链接,路由中的“#”会被去掉并追加?fromTimeline之类的后缀参数,这就造成了分享出去的链接只能进入首页,无法正常跳转到其他路由。

解决vue hash模式微信分享#号问题 - CSDN博客

2、微信分享接口不支持hash传递。

    带有hash的url分享朋友圈的时候,跳转信息中 不包含hash信息。例如:

    view/guide/home.php#share/service/detail/

    只能得到:

    view/guide/home.php

    建议:分享的时候不要带hash信息。如果一定要带附加信息,可以转为:

    view/guide/home.php?share/service/detail/。

sitelinks sitemap

  • Provide a clear structure for your website, using relevant internal links and anchor text that’s informative, compact and avoids repetition.
  • Allow Google to crawl and index important pages within your site. Use Fetch and Render to check that they can be rendered properly.
  • If you need to remove a page from search completely, use a “noindex” robots meta tag on that page.

The Definitive Guide To Getting Google Sitelinks In 2018 | Blogging Wizard

sitelinks 由 google 自动生成
bch123 sitemap 里只有主站

jsonp

Uncaught SyntaxError: Unexpected token :这个报错,是因为服务器端没有按照jsonp的要求将数据拼接到回调函数的参数中,而是直接返回一个json

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.