Giter Site home page Giter Site logo

tarnhelm's Introduction

tarnhelm's People

Contributors

bluemangoo avatar cracky5322 avatar howard20181 avatar linsui avatar lz233 avatar mitian233 avatar ous50 avatar poussinou avatar qqlittleice233 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  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  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

tarnhelm's Issues

响应 `tarnhelm://` 链接跳转

将 Tarnhelm 注册为 tarnhelm:// 的打开方式,可以快捷添加规则。添加完毕后弹窗反馈(或类似于一个木函的复制分享文本的反馈)

Crash when Regex with wrong Syntax

I don't want to switch my IME, so I wrote things in English.

Some Information

cheetah 
Android 14 Beta 5 (Upside Down Cake, API Level 34)

LSPosed Provided Information:

API 版本
100

Xposed API 调用保护
已启用

Dex 优化器包装
支持

框架版本
1.9.1 (6990)

管理器包名
com.android.shell

系统版本
14 (API 34)

设备
Google Google Pixel 7 Pro 

系统架构
arm64-v8a

Rule used

eyJhIjoiR29vZ2xlIFJlbW92ZSBMYW5nIiwiYiI6WyIoaHR0cHxodHRwcyk6XFxcL1xcXC8oKFxcdypcXC4pP2dvb2dsZVxcLmNvbShcXC5oa3xcXC5qcCk%2FKSIsIihcXD8paGw9W1xcdy1dezAtOH0iXSwiYyI6WyJodHRwczpcL1wvJDNnb29nbGUuY29tIiwiJDEiXSwiZCI6IkN5YW5DaGFuZ2VzIn0%3D

Some log in logcat

09-15 19:07:52.312  9207  9207 I LSPosed-Bridge: Crash unexpectedly: java.lang.RuntimeException: Unable to start activity ComponentInfo{cn.ac.lz233.tarnhelm/cn.ac.lz233.tarnhelm.ui.process.ProcessCopyActivity}: java.util.regex.PatternSyntaxException: Error in {min,max} interval near index 15   
09-15 19:07:52.312  9207  9207 I LSPosed-Bridge:        at cn.ac.lz233.tarnhelm.ui.process.ProcessCopyActivity.onCreate(Unknown Source:25)                                       09-15 19:07:52.312  9207  9207 E AndroidRuntime: Process: cn.ac.lz233.tarnhelm, PID: 9207                             
09-15 19:07:52.312  9207  9207 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{cn.ac.lz233.tarnhelm/cn.ac.lz233.tarnhelm.ui.process.ProcessCopyActivity}: java.util.regex.PatternSyntaxException: Error in {min,max} interval near index 15                       
09-15 19:07:52.312  9207  9207 E AndroidRuntime:        at cn.ac.lz233.tarnhelm.ui.process.ProcessCopyActivity.onCreate(Unknown Source:25)                                       09-15 19:07:52.320  1638  3479 W ActivityTaskManager:   Force finishing activity cn.ac.lz233.tarnhelm/.ui.process.ProcessCopyActivity                                            
09-15 19:07:52.323  1638  3479 W ActivityTaskManager:   Force finishing activity cn.ac.lz233.tarnhelm/.ui.main.MainActivity                                                      09-15 19:07:52.372  1638  7008 I WindowManager: WIN DEATH: Window{28c38ea u0 cn.ac.lz233.tarnhelm/cn.ac.lz233.tarnhelm.ui.main.MainActivity}                                     
09-15 19:07:52.373  1638  7008 W InputManager-JNI: Input channel object '28c38ea cn.ac.lz233.tarnhelm/cn.ac.lz233.tarnhelm.ui.main.MainActivity (client)' was disposed without first being removed with the input manager!                  09-15 19:07:52.374  1638  2409 I ActivityManager: Process cn.ac.lz233.tarnhelm (pid 9207) has died: fg  TOP           
09-15 19:07:52.377  1638  2409 W ActivityManager: Scheduling restart of crashed service cn.ac.lz233.tarnhelm/.service.ModuleDataBridgeService in 1000ms for start-requested

Share dialog not working

您好,Tarmhelm的分享对话框模式没有生效,在Tarnhelm弹出分享对话框,然后选择应用后对话框消失,没有打开要目标应用
复现步骤:在任意应用中分享-选择Tarnhelm-在第二次弹出的分享对话框中选择任意应用

Android版本:13
MIUI版本:MIUI Global 14.0.2.0(TGBINXM)
测试过的Tarnhelm版本:1.5.4和1.5.5

通过Android 14系统分享菜单复制到剪贴板不会触发Tarnhelm

任意链接通过分享菜单右侧的复制按钮复制到剪贴板,不会触发Tarnhelm处理。
例如下图,点击YouTube视频下方的分享按钮会调用系统分享菜单,再点击右侧复制按钮,会复制到带追踪参数的URL。
而直接使用复制菜单复制到剪贴板的URL会被正常处理掉追踪参数。
图片

另外测试在Pixel短信应用中也是相同的结果,直接复制可以被正常处理,如果选择使用分享菜单再复制的话就不会被Tarnhelm处理

F-Droid

请问可以将应用发布到 F-Droid 吗?

允许用户上传规则库

如题,本人写了个微信文章的规则,准备分享时发现项目貌似没有提供入口,去酷安发现应用已下架,并且没有对应话题。

支持取特定参数后进行 URL 解码

例如有如下分享链接 https://www.urlshare.cn/umirror_url_check?_wv=1&srctype=touch&url=https%3A%2F%2Fwww.example.com&src_uin=xxx&src_scene=xxx&cli_scene=xxx,我们可以通过取 url 参数后解码获得原链接。

Plus is replaced with space even when no rules are triggered

Steps to reproduce:

  1. Enable any Tarnhelm replacement method (e.g. Xposed rewrite clipboard)
  2. Turn off all rules (this shows that it isn't a problem from a custom rule)
  3. Copy this: https://a.com/a+a+a
  4. Paste it, now plus has been replaced with space and it says: https://a.com/a a a

This breaks links such as https://www.wolframalpha.com/input?i=how+popular+was+the+name+Bella+when+Twilight+came+out%3F because the plus is required for the URL.

Ideally, plus should stay as plus and not be replaced.

Thanks for the awesome app, and please let me know if you need any more info to fix this! <3

Integrate "UntrackMe" rules

集成 UntrackMe 的內建重定向規則。

  • YouTube -> Invidious / Piped
  • Twitter -> Nitter
  • Instagram -> Bibliogram
  • Reddit -> Teddit
  • Medium -> Scribe.rip
  • Wikipedia -> Wikileaks
  • Google Maps -> OpenStreetMap
  • TikTok -> ProxiTok

Act as default browser

參考 Open With 和 UntrackMe 的行為,作為默認連結打開方式來去除跟蹤參數。

  • 選中文本的選單
  • 連結打開方式
  • 按規則使用特定應用打開連結

Backup and restore feature

How about backup and restore feature that will help save all of the user's rules and settings? It this planned?

Btw, nice job with your app, I'm using it for about a year and it's great 💯

链接提取后文本剔除问题

问题背景:文档-指南 部分中提到:根据内置正则表达式从中提取出链接。
但在使用中例如接收到文本:
分享46_P/诗岸的单曲《Narcissus》: https://y.music.163.com/m/song?id=1835695995&userid=299866209&dlt=0846 (来自@网易云音乐)
处理后为:
分享46_P/诗岸的单曲《Narcissus》: https://y.music.163.com/m/song?id=1835695995 (来自@网易云音乐)
链接前后的文本没有剔除;
我自己写的正则 \s|(.+(?=http))|(\?.*)
接收到的文本:
花栗鼠的颊囊可以塞进多少橡子 UP主: 央视纪录 http://www.bilibili.com/video/av644541079?share_medium=android&share_source=more&bbid=XZEE1D4E6E110016EE6A04C131A178B148E64&ts=1660686643527
本应该将http前面的视频标题去掉,但是处理后的结果是:
花栗鼠的颊囊可以塞进多少橡子 UP主: 央视纪录 http://www.bilibili.com/video/av644541079
是否是我正则写的有问题

A simple question :)

Here's my question- Does this app require Xposed or root? I know there is a Xposed method, and a method that uses ADB. But for the other 3? Can they work normally without Xposed or root?

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.