Comments (8)
hi @youchenlee
有關 hashbang 的問題現在 google 建議是用 pushState
http://www.youtube.com/watch?feature=player_embedded&v=yiAF9VdvRPw
可以看一下 youtube 的影片
近幾年 html5 的 pushState 慢慢的取代了 hashbang
所以目前使用的 pushState 應該不會換到 hashbang
from g0v.tw.
http://www.dns.com.tw/seo/?p=9120 # 另一篇文章
from g0v.tw.
Hi @chilijung ,
謝謝你的詳細指教與提供資料,我會再研究看看多學習的。
今天因為發現 Google 搜尋找不到「參與我們」頁面內的其他頁籤內容,因此以為是這個問題。
現在想想,也許只是因為內容太新,尚未被爬到。
另外想請問一下,目前雖用 pushState ,網址對於瀏覽器按上一頁、下一頁會有變化,然而頁面內容卻不會更新,是否是因為尚未 implement 呢?
from g0v.tw.
@youchenlee 想請問一下,你是用哪一種瀏覽器呢?
因為目前我是直接用 pushState 但是好像支援的瀏覽器都要滿新的。
我可能最近會用 polyfills 來解決這個問題
https://github.com/browserstate/history.js
from g0v.tw.
@chilijung
我指得上一頁,下一頁是瀏覽器本身的的前一頁、後一頁的按鈕。
目前這邊 Firefox Nightly, Safari, Chrome 狀況是相同的,網址會更新,但內容不會更新。(不算是什麼嚴重問題)
至於直接點頁面上的頁籤,功能很正常,都會更新。
謝謝你的幫忙,辛苦了。
history.js 剛好也是我最近想玩的。(之前只 try 過很少人用的 davis.js)
from g0v.tw.
真的耶...好我最近改善一下上一頁下一頁的問題...感謝回報!
from g0v.tw.
既然如此我改一下 issue title.
orig: Implement AJAX crawling scheme support for http://g0v.tw/join.html
new: 改善 http://g0v.tw/join.html 頁面,點選 tab 後,瀏覽器按上一頁、下一頁無效的問題
謝謝你。
from g0v.tw.
ok sure thanks!
from g0v.tw.
Related Issues (20)
- g0v官網導覽列-201608 HOT 6
- contact 頁增加 talk 群組說明與各松聯繫
- 黑客松活動紀錄頁自動產生
- project 改連結 http://g0v.tw/en-US/project-from-registry.html HOT 2
- 寬度在1100時,圖片的暴走現象
- 專案頁加 repo link
- 專案頁加 editor link
- 專案頁左邊 category link 不會動
- 找個地方放 hackpad 備份連結 HOT 1
- 活動 > 大松 翻譯檔
- 首頁獎助金大圖換成 summit
- 首頁:加入行動換連結
- join.g0v.today 服務失效 (Application error)
- 加日文版連結
- 活動頁整理
- 加社群治理文件
- 關閉JavaScript時不能正常工作
- 新版 g0v 宣言翻譯(英文版) HOT 1
- KKTIX 信裡的「如何參與」的聯結已失效
- 測試加 issue 會不會在 slack 有通知 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from g0v.tw.