Giter Site home page Giter Site logo

orinx / foxmosa-toldyou Goto Github PK

View Code? Open in Web Editor NEW

This project forked from audreyt/kp

1.0 1.0 6.0 5.2 MB

小莎滑出來推你入坑

Home Page: http://orinx.github.io/foxmosa-toldyou/

License: BSD 3-Clause "New" or "Revised" License

JavaScript 94.48% CSS 5.52%

foxmosa-toldyou's People

Contributors

bobchao avatar goooooooogle avatar orinx avatar yurenju avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

foxmosa-toldyou's Issues

不使用 jQuery

考量到某些網站可能沒有使用 jQuery ,但是卻想要掛這個服務。
因此希望能夠不依賴 jQuery 也可以使用!

加上一組 default 可用的圖示

  • 使用者可以在設定檔裡設定 "foximage" 參數,此參數設定後 image、width、height 參數無效
  • 使用者可以從一組固定的清單裡挑選一個,作為 foximage 的參數值,例如 "cry" 會是哭泣的小莎

加上可以追蹤使用者點擊連結的設定

  1. 使用者可以將 "tracklink" 設定為 true (which is false by default),啟用這個功能
  2. 使用者啟用此功能後,在產生對話泡泡時,會自動掛上一個 GA 的 event tracking。
    • category: foxsay
    • action: (當下的連結網址)
    • label: (當下小莎說的話)

定義 API

JSON 格式

0.1 版先放一個在 github 上的靜態 json 檔,放三組資料,讓 client 去 random 就好

  • function_area: event, webmaker, sumo, moztw-web, fxos-gaia, fxos-gecko, qa
  • url: 連結目標
  • description: 描述文字

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.