Git Product home page Git Product logo

blog-safari-plugin's Introduction

博客系统的safari插件

在我们的博客中,有一个功能叫'阅读轨迹',其是专门用于罗列个人阅读过的文章。
它的收录方式不是从CMS中去添加,而是利用Safari的插件,完成收录。 每次读到好文章的时候,只要点击地址栏左侧的Alt text,输入标签,ok。这样我就可以在阅读文章的同时,轻松完成收录工作,不遗漏好文章。

配置修改 由于非常简单,用ajax调用后台api就可以完成收录工作,所以直接使用了jQuery。 用户在使用的时候,手动修改如下地方的代码为自己的api地址就可以了。

$.post('http://xxx/url', {

操作方法 用户下载该工程后,按照自己的需要修改配置,然后操作如下:

safari --> 开发 --> 现实扩展创建器 --> 点击左下'添加扩展' --> 选择到该工程 --> 左上出现myblog的扩展,点击它 --> 点击右上的'安装'按钮。

到此就可以在safari的扩展位置出现插件标示了,你就可以快乐的使用了。

forked from Hades

blog-safari-plugin's People

Contributors

taosin 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.