Operating Instructions
Important Rules
-
The extension reads CSS settings from the browser. Settings that were defined for a specific browser will not be read by the extension and will not be written to the file when saving. It is recommended to keep a separate file for the other browser's settings.
-
All changes made by the extension are stored in browser memory only — until a final save to a file on the server.
-
The extension works on
http and https protocols and does not work on the file protocol.
Using the Extension
Clicking the extension button will open it in a draggable window that can be positioned anywhere in the browser.
- Select a CSS file — a list of selectors in the file will appear.
- Select a selector — a list of properties in the selected selector will appear.
- You can change property values using the controls provided for each property.
- Right-clicking a property name allows you to: delete it, revert to the value it had when the selector was selected, or edit the value as text.
- You can add a new property — it will appear at the end of the list with default values.
Property didn't appear at the end of the list?
One of the following reasons:
- You have sorted list view enabled.
- Your browser does not support that property.
You can also add a new selector.
Saving the File
When everything is ready — save the file. The save operation saves only the currently selected file, so repeat the save for each file that was changed.
The extension sends data via POST to the server:
ptr — file identifier and path on the server
content — file content (selectors and properties)
key — identifier name set by the user in the settings panel, containing the password (val)
Example
If the key is abc and the val is 123 — the parameter sent to the server will be named abc and will contain 123.
Download Sample Update Script
Download se-conf.zip containing two files:
CSSStyleDeclaration.php — the script configured in the extension
se-conf.php — a helper file containing the key and val to be updated in the extension settings as well
Use of the script is free and at the user's own responsibility.