Greasy Fork is available in English.

Diskussionen » Greasy Fork Rückmeldungen

Sync additional info

§
Veröffentlicht: 02.10.2014

Sync additional info

Script authors: just as you could already have your code synced from your GitHub repo (or wherever), now you can have your script's additional info synced from GitHub (or again, wherever)! You can set this up from the Sync tab of your script. You can even set up multiple additional infos for multiple languages.

Just like the code sync feature, be sure that you're pointing to the raw content (like https://raw.githubusercontent.com/JasonBarnabe/stylish/master/README) and not a page containing the content (like https://github.com/JasonBarnabe/stylish/blob/master/README).

Any bugs or suggestions, post here!

§
Veröffentlicht: 03.10.2014
Bearbeitet: 03.10.2014

currently, importing an html page will show <script> tag content. and i prefer to remove it.

§
Veröffentlicht: 04.10.2014

Fixed!

§
Veröffentlicht: 04.10.2014

Hi Jason,

I just tried and it works wonderfully, thanks.

Regards
Reek

§
Veröffentlicht: 10.10.2014
Bearbeitet: 10.10.2014

my html web page has an image in relative path, and it seems not work when sync from it. I'm not sure where is wrong.

this is the script: https://greasyfork.org/zh-CN/scripts/2231-bilibili-ass-danmaku-downloader
and this is the description webpage (sync additional info from): https://tiansh.github.io/us-danmaku/bilibili/

The image cannot be shown and no "src" attribute found in the result.

§
Veröffentlicht: 10.10.2014

The sync process is just taking the HTML/Markdown straight from where you provide. The result is run through Greasy Fork's HTML sanitizer, which only allows https images.

§
Veröffentlicht: 10.10.2014

Nice!

I think we should be able to add urls on import page too!

§
Veröffentlicht: 11.10.2014
The sync process is just taking the HTML/Markdown straight from where you provide. The result is run through Greasy Fork's HTML sanitizer, which only allows https images.

So, maybe the issue is that the sync process cannot recognize relative path.

§
Veröffentlicht: 12.10.2014

The sync copies the code and checks for allowed / not allowed elements => relative paths don't start with https => they get deleted

§
Veröffentlicht: 13.10.2014

It's a reasonable suggestion, but I don't know of a library that would let me do it...

https://github.com/JasonBarnabe/greasyfork/issues/289

Antwort schreiben

Anmelden um eine Antwort zu senden.