Giter Club home page Giter Club logo

jquery-sparkle's Introduction

jquery-sparkle's People

Contributors

balupton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

jquery-sparkle's Issues

how to add mobile support

Hello, I have an application that uses this functionality. On desktops it works on all browers, but on mobile it only works on chrome mobile. I would like it to work on firefox and native android browser too. Any way of doing that?

String.prototype.queryStringToJSON is an XSS vulnerability.

https://github.com/balupton/jquery-sparkle/blob/master/scripts/resources/core.string.js

In the function there, on line 203, you're doing an eval on whatever is in that link. I fear for people who might be using this on their websites, as suggested here: https://github.com/balupton/jquery-history. All someone has to do is URLEncode malicious javascript, shorten the link (or hell, perhaps not even that), and send it to unsuspecting victims.

To take the example in your jquery-history readme, change the URL to this and see the arbitrary javascript executed with the example:

http://localhost/page/#subpage?a=true&b=alert(%22holy+crap%22)%3B.

I'm not sure what the motivation for that eval is, but it is very, very, bad.

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.