Comments (3)
@fmaiabatista
The CSS code that you type (and some other related information) in the extension is saved in "localStorage" for that domain in the browser. This approach was implemented due to its simplicity in implementation and debugging.
If a code like "localStorage.clear();" executes in the webpage, then the CSS that you have typed would get cleared. In case of Pastebin.com, it happens whenever you click on the "Create New Paste" button.
In case of a new Private Browsing mode also, you would face the similar issue since the localStorage is not retained.
A proper fix for this issue would need to change this data storage approach.
For now, it would take a while before I look into this.
from live-css-editor.
Yes, I'm often lose CSS for several websites too. It looked odd before I found this issue here. Data storage place selection can greately improve such behavior. For now, I use cookies backup to retrieve lost CSS data.
from live-css-editor.
@fmaiabatista
The storage mode now supports localStorage
and chrome.storage.local
, both. The change is available in the master branch.
That means with the upcoming publish of this extension, the issue would be fixed :-)
from live-css-editor.
Related Issues (20)
- Editor in external window is not closing sometimes upon refreshing the page HOT 11
- Feature request: Show popup on page load HOT 4
- Feature Requests HOT 3
- Request - delayed load HOT 3
- Feature Request: Backup/Export option! HOT 8
- Sass? Scss? HOT 5
- Doesn't seem to work on Firefox: Content Security Policy: The page’s settings blocked the loading of a resource at inline (“style-src”). HOT 3
- Is there's any for your extension to work all the time in the background or apply the effects b/f loading the website! HOT 5
- Apply styles automatically (without loading this extension) to any/all domains? HOT 1
- This site can’t be reached HOT 10
- Feature Request: Tailwind support HOT 4
- Mentioned in feedback: Web pages are often not automatically reflected after opening HOT 1
- It doesn't apply CSS in file mode HOT 6
- Feature Request & Praise HOT 2
- Update extension for firefox and edge HOT 1
- Error: no parsers registered for: "] Edu" HOT 1
- Auto apply feature doesn't exist
- Loading Magic CSS with User Agent of a different browser can show/hide functionalities inappropriately HOT 1
- Missing 'name' and 'description' in manifest.json inside the crx-file from Chrome Web Store HOT 2
- Using Less: "each" undefined. Which version of Less is in use? HOT 5
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 live-css-editor.