Giter Club home page Giter Club logo

cookieripper's People

Contributors

sesu8642 avatar

Watchers

 avatar  avatar  avatar

cookieripper's Issues

Popup styling

Hi Sesu8642,

Just tried your extension on Firefox. Great work!

I made some changes to the popup so it is a little bit larger. Here's what it looks like:

Screenshot of popup CSS changes

When you scroll down in the popup, you can view the web storage data. In the beginning, I had everything in view, but thought that the popup might be too long, so I made it so the cookie portion can always be viewable. It would be neat if the cookie and local storage tables can be hidden if there isn't any data for the active tab, but that can be a future enhancement for Tabulator.

Click to view custom CSS for userContent.css
/* cookie ripper */
@-moz-document url("moz-extension://d9636418-03ce-428b-8770-a7169f1927d9/popup.html") {
	body {width:750px !important; max-height:331px !important; overflow-x:hidden; font-family: arial,sans-serif;}
	#slider {margin:10px 0 !important;}
	div[tabulator-field="name"] {width:170px !important;}
	div[tabulator-field="value"] {width:400px !important;}
	div[tabulator-field="expirationDate"], div[tabulator-field="permanence"] {width:90px !important;}
	div[tabulator-field="whitelisted"] {width:56px !important;}
	.extension-popup .dropdown {margin-right: 20px;}
}

Feel free to port some of those changes into the extension if you want. Haven't tested in Chromium browsers though.

Session browser setting

Is there a way for the extension session setting for a domain to also change the browser cooking setting for the domain?

not working in Firefox private windows

The reason for this is that Firefox does not permit communication between parts of the extension in different modes. The background page is usually in normal mode while the popup etc. might be in private mode. Since the background page seems to be the only option to keep stuff in RAM, the extension would need to be changed quite significantly to solve this issue.

Workaround: Create a different profile which is always in private mode (enable "Never remember history" in settings). This allows the whole extension to be in private mode and be able to communicate properly. The new profile can then be used instead of using private windows from the same profile. Useful arguments: firefox -p privateprofile -no-remote

replace html tables

The vanilla tables currently in use are lacking useful features. They could be replaced with some custom js table. A new solution should have the following features:

  • filtering
  • sorting
  • showing / hiding columns (controlled by user)
  • not add much overhead (including a huge general purpose framework is not an option)
  • be compatible with GPL v3

This could also help with tables becoming too crowded and help with #5.

refactor how cookie blocking works

Currently it is detected when a cookie is set and the cookie is instantly deleted when it is unwanted. This works with both cookies from http headers and ones set via JavaScript. However, it is not very clean and requires the unwanted cookies to be stored in RAM for the restoring option.

Instead, cookies could always be accepted but blocked from being sent in the http header. Blocking access from JavaScript in not possible. However, the unwanted cookies could be deleted whenever a new page is loaded. Unfortunately, this would allow different tabs to communicate via cookies. They can do that anyway, though (e.g. with web storage which cannot be instantly deleted like cookies).

This is needed to fix #7.

add option to sync site exceptions and whitelist

Could be very practical for people using sync. However, storage.sync API is rather limited in several aspects. This must be examined first. Storage.local as a fallback option might be feasible.

counter on icon is not always accurate

This is because there is no way to get notified when a web storage entry is set using JavaScript. It might work in most cases to wait a couple of seconds until all JS in run and then refresh the count. Not a fantastic solution, though...

add manual

documentation for users should be provided in manual.html

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.