【图】Script Menu下载
【图】Script Menu
【图】Script Menu

Script Menu

Script Menu 简介

Select and run the registered JavaScript from the menu. Using browser.tabs.executeScript API.
I created this extension to make it easier to run JavaScript on firefox for mobile, which does not have a bookmarklet available.

Usage
screenshot

  • Show menu in page: Show menu in page for quick access to the menu on Android.
  • Print debug info: Output debug information at the bottom of the Options tab.
  • Script Resource: Script to register in the menu.
    1. Each script begins with the //name directive.
      The //name directive specifies the script name to be displayed on the menu.
       //name Go page top
    2. The //matches directive specifies a comma-separated list of URL patterns for the pages where you want to display the script name. (Optional)
      //matches https://www.google.com/*, https://github.com/*
    3. The //excludes directive specifies a comma-separated list of URL patterns for the pages where you don’t want to display the script name. (Optional)
      The //excludes directive has a higher priority than the //matches directive.
      //excludes https://yobukodori.github.io/*, https://github.com/yobukodori/*
    4. Next, use the //options directive to set details. (Optional)
       //options
       {
        ”allFrames”: true
        ”wrapCodeInScriptTag”: true
       }
      wrapCodeInScriptTag is a Script Menu specific option. If its value is true, the code is wrapped in a script tag and executed. Then you can access the variables defined by page script.
      Internally convert it to the following code and execute it.
       (function() {
        let script = document.createElement(“script”);
        script.appendChild(document.createTextNode(“(“+function(){
         // your code
        }+”)();”));
        document.documentElement.appendChild(script);
        script.remove();
       })();
    5. Finally, write the code with the //js directive.
      [NOTE] Doesn’t check the syntax of the code, so please paste the code that has been tested to work.
      //js
      (function(){
          alert("hello");
      })();
    6. Prepared the following built-in scripts for Fenix.
      //name View Page Source
      //js
      builtin:view-page-source
      //name View (Selected) outerHTML
      //js
      builtin:view-outerhtml
    7. Other directives. (Optional)
      //disable: disable this script. In case you don’t use the script but want to keep it.
      //eof: Ignore the lines that follow.
      //[-=*;#]: Comment line.
      //name Obsolete script
      //disable
      //js
      (function(){/* code */})();
      //===============================
      //name Beautify the page
      //# comment
      (function(){/* code */})();
      //eof
      #############################
      [memo]
      ...
      [todo]
      ...
  • Save: Save settings and scripts resource. And apply settings and scripts.
  • Apply: Apply settings and scripts. (doesn’t save).
  • Get Status: get current status and applied scripts.
  • Clear Log: Clear log.

Script Menu 类似 +

What The Wrapper插件官网最新版下载,Source code information about National Instruments website

【图】What The Wrapper
What The Wrapper

SideApp For Pinterest插件官网最新版下载,SideApp For Pinterest SideApp For Pinterest Allows You To Open Pinterest In The Sidebar Or In A New Window. Pinterest Is Not Affiliated With The UNITY Empire And Is Not A Product Of The UNITY Empire.

【图】SideApp For Pinterest
SideApp For Pinterest

Fill插件官网最新版下载,

【图】Fill
Fill

Look up in Merriam-Webster Ⓡ插件官网最新版下载,Looks up the selected word/phrase in Merriam-Webster Ⓡ (www.merriam-webster.com) dictionary. This is NOT an official add-on developed and distributed by Merriam-Webster Ⓡ!

【图】Look up in Merriam-Webster Ⓡ
Look up in Merriam-Webster Ⓡ

Rendered Maths Solver插件官网最新版下载,A browser add-on that that provides solutions to LaTeX equations rendered with MathJax using Wolfram Alpha.

【图】Rendered Maths Solver
Rendered Maths Solver

HispaBanners插件官网最新版下载,HispaBanners es una extension que agrega los banners de vuelta a Hispachan

【图】HispaBanners
HispaBanners

How big is that?插件官网最新版下载,"How big is that?" allows you to select any measurement online and see how big this measurement really is.

【图】How big is that?
How big is that?

Drink Water插件官网最新版下载,A reminder to drink some water every two hours to hit the goal of 2 litres a day

【图】Drink Water
Drink Water

Scandid插件官网最新版下载,Scandid, Savings ka Sahi Jugaad- Now on your Browser! Compare, Save.

【图】Scandid
Scandid

Search by image on Ebay插件官网最新版下载,It happened that you liked a product or a picture, and you wanted to buy it, but you didn’t know how to find it? Now the

【图】Search by image on Ebay
Search by image on Ebay

Script Menu 下载

Mozilla Firefox 官网登录下载

发表评论 ?

为保护本站资源,下载插件请先微信登录。如页面错误或无法下载请参考帮助或留言反馈,谢谢。

声明

本站插件下载和图文资料来自Chrome/Edge/Firefox插件官网,所有权归原作者所有;好玩插件站仅做中文版整理同步;如发现不当内容,请联系我,谢谢。

更新