Giter Site home page Giter Site logo

keybraker / reskroutzed Goto Github PK

View Code? Open in Web Editor NEW
33.0 1.0 3.0 74.68 MB

reSkroutzed

JavaScript 7.91% HTML 5.62% CSS 16.33% TypeScript 70.15%
ads dark-pattern dark-pattern-blocker skroutz sponsored-ads sponsored-content sponsored-search chrome-addon chrome-extension firefox-addon

reskroutzed's Introduction

Alt Text reSkroutzed

reSkroutzed is a browser extension that detects and highlights sponsored products on skroutz.gr.

Alt Text

Why use reSkroutzed?

Skroutz has been using dark patterns to mislead consumers into purchasing sponsored products (advertisements). The purpose of this extension is to make it easier for consumers to identify which products are sponsored and which are not, so they can make informed purchasing decisions. It also gives the consumer the ability to hide the sponsored products if they so wish to.

Extra features include:

  • Lowest price checker outside of "Buy through Skroutz"
  • Product page sponsored flagging and removal
  • Frequently bought together sponsored flagging and removal
  • Advertisement overview inside of the popup

Manual Installation (for contributing)

To install the extension via GitHub, simply download the source code from this repository, and follow the instructions based on the browser you wish to load it on.

Load on Chrome

npm run build:chrome

and load the build extension by clicking Load unpacked at chrome://extensions/ and clicking on the build/chrome_build folder.

Load on Firefox

npm run build:firefox

and load the build extension from build/firefox_build.zip file.

Contributing

Contributions are always welcome!

If you have any suggestions for improvements or are facing a bug, feel free to submit a pull request.
Pull requests for known problems or ones that solve requests or bugs are very welcome (follow the Manual Installation to start developing!).

License

This extension is licensed under the GNU general public license. See the LICENSE file for more details.

Firefox Chrome

reskroutzed's People

Contributors

bandisast avatar gtopsis avatar keybraker 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

Watchers

 avatar

reskroutzed's Issues

Sponsored shelf not counted on the popup since the commit #ef6ab95

Issue:
image

While the sponsored shelf does exist, it doesn't appear to get counted on the popup file. Until the previous commit on the main repo, this used to work. Tested both on Chrome and Firefox, on a Windows 11 computer.

It was counted normally both on Chrome and Firefox until the above commit, so there must be a breaking change there.

Wrong number of sponsored-promoted products

Description

There is a case in which both the extension's popup and the relative filter show a wrong number of the counted sponsored/promoted products.
More specifically, if the number of those products are equal to n then the above relative counters are equal to k x n, where k = 2, 4, 8, ....

How to reproduce

  • visit https://www.skroutz.gr/c/1105/tablet.html?o=tablet
  • toggle the visibility of sponsored/promoted products
  • navigate to the second (or any different) page of results
  • toggle again the visibility of sponsored/promoted products
  • return to the first page of results
  • toggle again the visibility of sponsored/promoted products
  • check both the filter and the popup elements of the extension

Expected behavior

Well, it depends on the desired functionality. Some logical behaviors would be the following.

  • Counters represents the number of sponsored products per page of results (recommended)
  • Counters represent the total number of products that a visitor has found so far during his/her navigation

In the screenshot below, I would expect the counter to remain 4.

Screenshot

Screenshot from 2023-04-09 10-28-03

Environment

  • Chrome 112.0
  • Ubuntu 22.10

Counter of the Filter element does not indicate the right number of sponsored on the current page

Note: This issue relates to the current version of code (14/04/2023)

Description

There is a case in which the extension's Filter element show a wrong number of the counted sponsored products.
More specifically, if you visit a page of results different from the first, then you will notice that the number of the sponsored products in the Filter element has not been updated accordingly.

How to reproduce

Expected behavior

The number/counter of the Filter element should indicate the actual number of sponsored products in the current page.

In the screenshots below, I would expect the counter to be 0 on the second screenshot.

Screenshot

First page of results

Screenshot from 2023-04-14 22-40-09

Second page of results

Screenshot from 2023-04-14 22-40-26

Environment

  • Chrome 112.0
  • Ubuntu 22.10

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.