Coder Social home page Coder Social logo

Saved CSS randomly changed about usercss HOT 4 OPEN

sirn avatar sirn commented on May 21, 2024
Saved CSS randomly changed

from usercss.

Comments (4)

sirn avatar sirn commented on May 21, 2024

Hmm, this is a very strange issue. There are two places that modifies the database, one is the manager and the other one that modify the data without user interaction is the database updater code, which shouldn't cause any problems (since it only add extra field to the existing data.)

So I need a bit more information for this; could you give the following info?

  • Operation system.
  • SIMBL/InputManager plugins installed (only if you're on a Mac).
  • When did the problem happened? After you've saved something, after launch?
  • Any example of User CSS / Domain rules that messed up.
  • How big is your database and how many User CSS installed.

The database is stored at ~/Library/Safari/LocalStorage/safari-extension_com.gridth.usercss-v892bvzc73_0.localstorage on a Mac or %USERPROFILE%/AppData/Local/Apple Computer/Safari/LocalStorage/safari-extension_com.gridth.usercss-v892bvzc73_0.localstorage on Windows.

The other cause of the problem could be the input sanitizer I added to workaround the trailing slash problem, but that doesn't modify the database.

from usercss.

jkuss avatar jkuss commented on May 21, 2024

Mac OS 10.6.4 (updated today), GreaseKit installed (but I don't use it), Not sure when problem happened, I can email the diff file of the old/new CSS, 20KB DB with 2 CSS installed.

from usercss.

sirn avatar sirn commented on May 21, 2024

I can email the diff file of the old/new CSS

Thanks, that would help a lot. I can be reach at sirn [at] ogsite.net. I'm inclined to believe it is a problem with the manager, but still couldn't think how it could happen randomly.

from usercss.

sirn avatar sirn commented on May 21, 2024

Still couldn't reproduce the problem, but will leave this bug open until I'm sure it is fixed.

from usercss.

Related Issues (20)

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.