Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create pahe.js for pahe.in|ph|me #972

Closed
wants to merge 2 commits into from

Conversation

LoSunny
Copy link

@LoSunny LoSunny commented Apr 24, 2023

Fixes (Links to issues fixed by this PR):
None

Description:
Translating from

domainBypass(/pahe\.(in|me|ph)/, () => {

Test links:
None

Checklist:

  • I made sure there are no unnecessary changes in the code*
  • Tested on Chromium- Browser OS
  • Tested on Firefox

The npm run build doesn't work on MacOS, which I don't have Linux or Win machine to test on 🥲
And am I making mv3 bypasses correctly?

@0xc60f
Copy link
Member

0xc60f commented Apr 27, 2023

You should be running node .\scripts\build.js all in the root directory to build it. You need to use forward slashes since you mentioned that you are running MacOS.

src/bypasses/pahe.js Outdated Show resolved Hide resolved
Co-authored-by: 0xc60f <0xc60f@duck.com>
@LoSunny
Copy link
Author

LoSunny commented Apr 27, 2023

You should be running node .\scripts\build.js all in the root directory to build it. You need to use forward slashes since you mentioned that you are running MacOS.

It worked, and the extension was running correctly in both Chrome & Firefox. However I don't have any test link to see if the bypass works or not 😅

@github-actions
Copy link

Download the artifacts for this pull request:

Copy link
Member

@0xc60f 0xc60f left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my testing, it didn't appear to redirect me to the final destination; can you change it so that it does?

@LoSunny
Copy link
Author

LoSunny commented May 1, 2023

I'll see what I can do in my free time, and understand what is the use of bypassClipboard

@0xc60f
Copy link
Member

0xc60f commented May 1, 2023

I'll see what I can do in my free time, and understand what is the use of bypassClipboard

bypassClipboard is meant to hold values for later use, but you need to use a function for FF to navigate to the final destination. I think you have the values already needed for the final destination, but it's just a matter of using a function like safelyNavigate.

@NotAProton
Copy link
Member

bypassClipboard (which was used to inject custom bypass) has been deprecated. ffclipboard is used to save data temporarily

@0xc60f
Copy link
Member

0xc60f commented Jul 26, 2023

Closing this pr because I've created a bypass for intercelestial, which is the meat of the site.

@0xc60f 0xc60f closed this Jul 26, 2023
@LoSunny LoSunny deleted the manifest-v3 branch July 26, 2023 22:31
@LoSunny
Copy link
Author

LoSunny commented Jul 26, 2023

Thanks for creating one. I'm on vacation and didn't have time to complete it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants