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

Userscript Edition #263

Open
ghost opened this issue Mar 3, 2017 · 2 comments
Open

Userscript Edition #263

ghost opened this issue Mar 3, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Mar 3, 2017

Artoo looks great, though for some sites the Security policy simply kills it. One way around this that doesn't require Chrome, and might be more cross-browser, would be a "userscript edition", that could run in e.g. Greasemonkey and receive a window object to work with (in GM, this would be unsafeWindow).

This would also let you use userscripting frameworks' menu commands to make menu-shortcuts for scraping, instead of bookmarklets; this might let people disable the shortcuts toolbar while still having artoo just 3 clicks away.

What would be needed to change artoo into a format that could be run in a userscript sandbox?

@Yomguithereal
Copy link
Member

Hello @cathalgarvey. This would be a nice idea indeed. I don't think there is much to change in the library's code to make this happen. One would just need to code the required bridge between artoo and the userscripts. Unfortunately I am a beotian in those matters so if you want to submit a PR, I'll gladly review it.

@Krazybug
Copy link

Hello, something new on this topic ?

Userscript integration would allow using it on FF and will solve all CORS issues.
It's really a nice feature.

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

2 participants