Coder Social home page Coder Social logo

vladgba / back2source Goto Github PK

View Code? Open in Web Editor NEW

This project forked from taraflex/back2stackoverflow

37.0 37.0 1.0 471 KB

Userscript for redirect to source sites from sites with machine translation, etc.

License: The Unlicense

JavaScript 95.15% PHP 4.85%
stackoverflow userscript

back2source's People

Contributors

cennoxx avatar hexium310 avatar kmyk avatar qw0101 avatar taraflex avatar vladgba 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  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

cennoxx

back2source's Issues

[Feature request] Redirect GitHub clones

Hello,

Additionally to redirecting Stackoverflow & Wikipedia clones, would it be possible to redirect GitHub ones as well ?

  • issueexplorer.com
  • githubmemory.com
  • codeproject.com
  • gitmemory.com
  • jsrepos.com

Thanks

www.anycodings.com

Example:

It was not so easy to understand why these copy-pastes don't google well, but then I noticed strange characters in the text. So a lot of hidden blocks are inserted there that spoil the search and make the content of the site looks unique for Google, so now this site is in the top of the search.

How it looks:
image

How it feels:

<p>I've recently found poetry to manage 
	<span class="s-pro">anycodings_python-poetry </span> dependencies. In one project, we use 
	<span class="s-pro">anycodings_python-poetry </span> PyTorch. How do I add this to poetry?
</p>

Check/add/fix sites from ublacklist-stackoverflow-translation

Collected sites from arosh / ublacklist-stackoverflow-translation (CC0-1.0 license)
Many are already added, some not, some are outdated, I will go through them bit by bit.

tutorialink.com & getridbug.com -> stackoverflow.com

Requests to api.zcxv.icu

At the moment every redirect is send to api.zcxv.icu (with https://api.zcxv.icu/b2s.php?q=set&url=...&redir=...). The service seems to be used to save the redirects online. Using the context menu, redirects can also be entered manually. The API can also be queried for sites and returns known redirects (https://api.zcxv.icu/b2s.php?q=get&url=...). Some thoughts about this:

  • I think it's dubious that users are not made aware, that all matched pages they are visiting are logged. what other data (IP address, the like) is logged? At least where I live (EU juridistriction) it is illegal to log such data without notice (according to GDPR), and must at least be mentioned in the readme
  • is it possible and b2s.php secure enough to make the application open source?
  • the recorded data is not to be trusted: currently it is possible to create a redirect from page A to a phishing/malware/whatever page B (using https://api.zcxv.icu/b2s.php?q=set&url=https%3A%2F%2Fexample.com%2Fa&redir=https%3A%2F%2Fexample.com%2Fb), page A is returned without checks from the API (https://api.zcxv.icu/b2s.php?q=get&url=https%3A%2F%2Fexample.com%2Fa), there should be at least a check on the php-side, if the entered redirect pages are valid stack exchange / github / ... pages

Use Google Image Search for Search by Image

If we are searching for image URLs the text search often doesn't give results:
https://www.google.com/search?q=site:askubuntu.com+https://i.stack.imgur.com/x9uWB.png

While the image search (adding parameter "tbm=isch") will give results:
https://www.google.com/search?q=site:askubuntu.com+https://i.stack.imgur.com/x9uWB.png&tbm=isch
https://www.google.com/search?tbm=isch&q=site:askubuntu.com+https://i.stack.imgur.com/x9uWB.png

So we should display the image search instead of Google's text search when searching with images.

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.