evazion/translate-pixiv-tags

Hello, is it possible to make this work within tweetdeck.twitter.com?

Closed this issue · 4 comments

i find myself using tweetdeck more often than twitter itself and i LOVE this script, but it would be amazing if it worked in tweetdeck.

7nik commented

I added it in the master branch, could you check it out?

wOOOOOOOOOOOOOW yes it is working! thank you very much. And just in case, could there be a part of documentation explaining how we can add compatibility for more websites (under the end user's responsibility of course)? Really thank you

7nik commented

I'll discuss it.
If in short, you need to add in the header @match with your site, add function initializeYourSiteName, and call it in the function initialize. The initializeYourSiteName may call GM_addStyle to add CSS and findAndTranslate to specify where and how translate tags. You can look at other initialing functions and realization of the findAndTranslate for more details.

7nik commented

@UmbraVivens, I added to the wiki an article about it.