Coder Social home page Coder Social logo

urlforwarder's People

Contributors

daverix avatar licaon-kter 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

urlforwarder's Issues

Backup / restore?

To be able to downgrade to 0.3 I had to deinstall 0.4. Now all the configured URLs are gone.
Also with changing/adding devices it would be great to be able to export/import the database of configured URLs.
I have tried finding if the information is stored in an accessible folder that can be copied, but failed.

Encoding of "unsafe" characters

When the characters ":" and "/" are within the replaced text, they are encoded into their HTML strings "%3A" and "%2F".
For example, "https://www.google.com/" becomes "https%3A%2F%2Fwww.google.com%2F".
This may be the proper behavior for strings to be used in a query, however when this occurs for URLs to be used with the site "web.archive.org", it is unrecognizable. The URL "https://web.archive.org/web/*/https%3A%2F%2Fwww.google.com%2F" does not work, and is not recognized because the website expects the full unencoded URL as part of the string.
An option to disable this selectively would be a good solution. Otherwise, this app is very useful and works fine.

version 0.4 keeps crashing

Model: Samsung SM-G96F (S9+)
Samsung Android 10 (all patches applied)

Since the 0.4 update the app keeps crashing. Doesn't even try to connect to the URL it should forward to.

Send Headers

Trying to use this to forward URLs to a service, which means I need to pass along some form of authentication. Would you be willing to add the ability to send arbitrary headers, specifically Authorization tokens?

Replacing a letter in a url

Hi,

Thanks for the app. I'd like to use it for the following use case by I can't figure out how to do it:

When browsing the url www.example.com/t, I would like to automatically redirect to www.example.com/m.
(I.e, I just want to replace the t at the end of the url by a m.)

I have tried many different configurations but none of them worked. Could you help me on this?

Thanks a lot!

Release?

First of all, thanks for the project, this is exactly what I needed! I started using Pinboard and was looking for the best way to use the bookmarklet on my phone.

The only thing I was missing was forwarding the page title, not only URL. I thought it should be pretty simple to add, and it turned out you already did it in the newest version, not yet released.

I was able to build an .apk for myself, but maybe you would consider making a release? Forwarding the title is a really valuable feature.

Feature Suggestion

First of all, I give you two screenshots, that show how I use this app.

  1. https://upload.cc/i4/kabW6.png
  2. https://upload.cc/i4/Lxtyb.png

The original feature of your app, is to share a URL to another URL. Besides this, I also use it to "share a sequence to a URL". For example, copy the app package name, then share to a URL to open Play Store, or copy the id/username, share to a URL to open the Twitter page, etc.

All the usages, is to add a sequence of words to form a URL. My suggestion is, to share a URL, extract a part from the URL, then add to another URL. For example, share an app in Play Store, extract the app package name, then add to the link of F-Droid

Some apps share more than URL

Thank you for making this. I was looking for this a long time.

When shared using a webbrowser on Android only the URL is forwarded. That's what we want, so that the destination can decide what to do with it. E.g.: https://destination.tld/?url=http%3A%2F%2Fopensourceforu.com%2F2017%2F01%2Frenault-leverages-open-source-build-electric-car-projects%2F

But some apps (like Inoreader) share a string like this: "Title word1 word2 etc https://url.tld". This is unfortunately forwarded as an URL and the destination can't do anything with that. E.g.: https://destination.tld/?url=Renault+leverages+open+source+to+build+electric+car+projects+http%3A%2F%2Fopensourceforu.com%2F2017%2F01%2Frenault-leverages-open-source-build-electric-car-projects%2F

Is there a way to fix this? Do I need to put something in the 'Replaceable text' field and what exactly? Or is this something that needs to be fixed in the code?

Feature request: act on android.intent.action.VIEW

Hi, this app is a godsend.. but could it be made to catch android.intent.action.VIEW as well? Say in a telegram channel (telefeedbot) I want to view some URLs but have them intercepted by this app.

It generates

intent://www.topky.sk/cl/13/1748635/FOTO-Archeologovia-vo-vytrzeni--Pod-pyramidou-objavili-tunel--tajna-cesta-do-podsvetia#Intent;scheme=https;launchFlags=0x3000000;S.com.android.browser.app
lication_id=org.telegram.messenger;B.create_new_tab=true;end
------------
ACTION: android.intent.action.VIEW
DATA: https://www.topky.sk/cl/13/1748635/FOTO-Archeologovia-vo-vytrzeni--Pod-pyramidou-objavili-tunel--tajna-cesta-do-podsvetia
URI:
intent://www.topky.sk/cl/13/1748635/FOTO-Archeologovia-vo-vytrzeni--Pod-pyramidou-objavili-tunel--tajna-cesta-do-podsvetia#Intent;scheme=https;launchFlags=0x3000000;S.com.android.browser.app
lication_id=org.telegram.messenger;B.create_new_tab=true;end
FLAGS:
FLAG_ACTIVITY_FORWARD_RESULT
FLAG_ACTIVITY_PREVIOUS_IS_TOP
EXTRAS:
1 Class: java.lang.String
Key: com.android.browser.application_id

Value: org.telegram.messenger
2 Class: java.lang.Boolean
Key: create_new_tab
Value: true

------------
MATCHING ACTIVITIES:
Chrome (com.android.chrome - com.google.android.apps.chrome.IntentDispatcher)
Firefox (org.mozilla.firefox - org.mozilla.gecko.tabqueue.TabQueueDispatcher)
Privacy Browser (com.stoutner.privacybrowser.standard - com.stoutner.privacybrowser.activities.MainWebViewActivity)
Chrome (com.android.chrome - com.google.android.apps.chrome.VrIntentDispatcher)

Unfortunately the url forwarder app is not matched.. otherwise it would be ideal for my purpose.

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.