Greasy Fork镜像 支持简体中文。

Instagram Button Labels Library

Library script containing Previous and Next button labels in multiple languages.

目前為 2025-03-26 提交的版本,檢視 最新版本

此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.gf.qytechs.cn/scripts/530900/1560248/Instagram%20Button%20Labels%20Library.js

  1. // ==UserScript==
  2. // @name Instagram Button Labels Library
  3. // @description Library script containing Previous and Next button labels in multiple languages.
  4. // @version 1.0
  5. // @author Ezektor
  6. // @grant none
  7. // @namespace https://gf.qytechs.cn/users/1414348
  8. // ==/UserScript==
  9.  
  10. const buttonLabels = {
  11. 'en': { previous: 'Back', next: 'Next' },
  12. 'es': { previous: 'Volver', next: 'Siguiente' },
  13. 'de': { previous: 'Zurück', next: 'Weiter' },
  14. 'fr': { previous: 'Retour', next: 'Suivant' }
  15. };
  16.  
  17. function getButtonLabels(lang) {
  18. return buttonLabels[lang] || buttonLabels['en']; // Fallback to English if language not found
  19. }
  20.  
  21. // Export for external use (main script will access it via @require)
  22. if (typeof window !== 'undefined') {
  23. window.getButtonLabels = getButtonLabels;
  24. }

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址