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

Adding rudimentary support for user scripting #190

Closed
projectextremum opened this issue Nov 22, 2018 · 6 comments
Closed

Adding rudimentary support for user scripting #190

projectextremum opened this issue Nov 22, 2018 · 6 comments

Comments

@projectextremum
Copy link

projectextremum commented Nov 22, 2018

Is your feature request related to privacy?
Perhaps. I hope it would help to modify things on per site basis.

Is there a patch available for this feature somewhere?
don't know, there are webextensions which do that, but not expecting these APIs to work in mobile chrome.

Describe the solution you'd like
Chrome has rudimentary support for javascript: URIs. So I think it should be possible to add site-specific bookmarklets that can be automatically executed on a given site.

Describe alternatives you've considered
Bookmarklets didnt work for me. One can always copy paste javascript URIs but a troublesome thing.

@csagan5 csagan5 changed the title Adding rudimentary support for user scripting: Adding rudimentary support for user scripting Nov 22, 2018
@csagan5
Copy link
Contributor

csagan5 commented Nov 22, 2018

It would be nice, I thought of this in the past, but unlikely to happen at the current pace of development (myself alone).

It would require an UI part to configure the scripts and an engine part to trigger them when it's needed; it would expand the scope beyond what it is currently (privacy patches alone) and it is not strictly about privacy but more in the realm of Greasemonkey and the like.

I will leave this open for now, but likely will be closed in future as there is no interest to implement it nor maintain the patches needed for it.

@projectextremum
Copy link
Author

I was thinking of creating a chrome:// URI which renders an HTML page instead of taking the burden of creating a user interface. (After emerging of webextensions, I suppose greasemonkey does the same thing).

@csagan5
Copy link
Contributor

csagan5 commented Nov 25, 2018

@projectextremum that is still an UI to be implemented

@Madis0
Copy link
Contributor

Madis0 commented Nov 25, 2018

Bookmarklets didnt work for me.

Didn't work or didn't suit you? FYI, bookmarklets can easily be used in two easy ways on mobile Chromium:

  1. Bookmark any site
  2. Change it's URL to a bookmarklet
  3. Go to a site you want to execute the bookmarklet in
  4. Search the omnibox for the bookmark name, tap on it
  5. Bookmarklet will activate on the current page

or

  1. Enable home button
  2. Set bookmarklet URL as the home URL
  3. Go to a site you want to execute the bookmarklet in
  4. Tap the home button

@projectextremum
Copy link
Author

Problem with bookmarklets is that they are still a lot of manual work.

@csagan5
Copy link
Contributor

csagan5 commented Nov 26, 2018

Two key points:

  • this is not related to privacy
  • I am not going to work on this feature and seems like nobody else involved in this conversation is

I am closing this.

@csagan5 csagan5 closed this as completed Nov 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants