Page Manipulator

4.2/5

扩展简介

Inject HTML, CSS or JavaScript into any web-page. Have the changes you make be applied every time you visit the specified website(s).
Customize almost any web-page by injecting HTML, CSS, or JavaScript.
Have the changes you make be saved and applied every time you visit the specified websites.

Better than 'inspect element' because It will stay after reloading 😀

Functionalities:

– Automatically inject custom HTML, CSS, and/or JavaScript into the pages you specify.
– Run custom CSS before the page is fully loaded so you won't see the original page first.
– Inject JavaScript on the go.
– Add/Remove/Change the HTML and CSS on the go.
– Right-click on any element on a page to get the full CSS path.
– Automatically saves the changes you make.

New features:
– Resizable extension window.
– Support for large files.

Fun use cases:

– Cheat simple games like the T. rex game.
– Fool your friends by showing them something fake on a website.
– Make your own dark-theme for any website.
– Test a website you're working on.
– Whatever you can imagine, be creative 😀

How to use:

– Simple, First open the extension.
– Choose 'JavaScript', 'CSS' or 'HTML'.
– Create a new file by pressing 'new'.
– Write your own code or get some from the examples here: https://github.com/Ruud14/Page-Manipulator/tree/master/examples
– Press the 'manipulate' button to test your code.
– To make sure your code is run every time you visit a specific page do the following:
ᅠ ᅠ – Put the URLs of the websites in the 'active websites' input.
ᅠ ᅠ – Check the 'Active' checkbox.

– Button functionalities:
ᅠ ᅠ – The 'Reload' Button:
ᅠ ᅠ ᅠ ᅠ – Will Reload the current page.
ᅠ ᅠ – The 'Active' checkbox:
ᅠ ᅠ ᅠ ᅠ – on > The code will be run automatically on the pages specified in the 'Active websites' textarea.
ᅠ ᅠ ᅠ ᅠ – off > The code will only run when you press the 'Manipulate' button.
ᅠ ᅠ – The 'Active Websites' textarea:
ᅠ ᅠ ᅠ ᅠ – You can specify the websites you want your code to run on here.
ᅠ ᅠ – The 'Matching Pages' dropdown:
ᅠ ᅠ ᅠ ᅠ – 'Exact' > The code will only run when the URL of the page is exactly the same as one of the URLs in the 'Active Websites' textarea. (Including slashes at the end!)
ᅠ ᅠ ᅠ ᅠ -ᅠ 'Recursive' > The code will also run on all sub-pages of the specified URLs in the 'Active Websites'.
ᅠ ᅠ – The 'Position on page' dropdown (only with HTML):
ᅠ ᅠ ᅠ ᅠ – 'Top' > The HTML will be added to the top of the page.
ᅠ ᅠ ᅠ ᅠ – 'Bottom' > The HTML will be added to the bottom of the page.
ᅠ ᅠ ᅠ ᅠ – 'Replace' > The HTML will replace the entire body HTML of the page.
ᅠ ᅠ – The 'Manipulate' or 'Update Manip.' button:
ᅠ ᅠ ᅠ ᅠ – Injects the code into the page or updates the injection.
ᅠ ᅠ ᅠ ᅠ – **This button also works when the 'Active' checkbox is unchecked.**
ᅠ ᅠ – The 'Remove Manip.' Button:
ᅠ ᅠ ᅠ ᅠ – Removes the manipulation from the page.
ᅠ ᅠ – The 'Delete' button:
ᅠ ᅠ ᅠ ᅠ – Deletes the current file from the storage.
– You can right-click any element on a page to get the CSS path of that element.



It doesn't work, what now?:

– If the extension button in the top right corner is greyed-out, you can't use it on that page.
– Make sure the 'active' checkbox is checked. And the 'active websites' input contains the correct URLs.
– For JavaScript:
ᅠ ᅠ – Make sure your code is run at the right moment. Maybe try adding a delay.
ᅠ ᅠ – Check the browser console for error messages.ᅠ

– For CSS:
ᅠ ᅠ – Make sure you are manipulating the right element by using "inspect element".
ᅠ ᅠ – Try using '!important'.

– For HTML:
ᅠ ᅠ – Make sure you haven't accidentally set the 'position' dropdown to the wrong position.

This works on most sites, but there are some exceptions!
If you'd like to see any specific improvements or found any bugs, let me know here: https://github.com/Ruud14/Page-Manipulator/issues

The editor I used since release v0.2.0-alpha is Ace editor.
Check it out here: https://ace.c9.io/

安装

发表评论