Giter VIP home page Giter VIP logo

scriptz's Introduction

scriptz

Scriptz is a collection of scripts created thanks to the suggestions of the Kiwi Browser community.

The goal of each script is to offer to the user a feature or a customization that expands daily accessibility on websites

How to use & Set up

Each script can be loaded into userscripts extension managers like Violentmonkey or loaded directly into supported browsers like Kiwi Browser

Once you installed the Violentmonkey extension do the following steps :

  • Open the Violentmonkey
  • Go to options page
  • Click create new Script ( you will get a dropdown )
  • Choose upload from url
  • Add the script link you can find in the List below
  • Confirm installation Or just click on the link of the script and a installation pages will be opened by extension manager

Now if you want you can setup the script like changing some behavior or options For example , by default all the scripts will be injected to all websites , that because on each script at row 4 there is a : // @match *://*/* you can edit that to match your custom website like // @match https://github.com or anything else . You can have multiple match ( you need to have one match per url)

List of userscripts

CWS.js

Chrome Web Store website is not mobile friendly . Really Google ?

I created a script that try to make the CWS more mobile friendly , available on dedicated repo -> CWS

setAutocomplete.js Link

The autocomplete attribute specifies whether a form should have autocomplete on or off. When autocomplete is on, the browser automatically complete values based on values that the user has entered before.

This script disables the autocomplete list on form inputs

setUserSelect.js Link

The user-select CSS property controls whether the user can select text. This doesn't have any effect on content loaded as chrome, except in textboxes.

This script force-enable the text selection

tbScroller.js Link

Script that add 2 buttons at rigth middle to scroll by scree height to top or bottom

awesomeScroller.js Link

Script to scroll with a fake awesome scrollbar

scrollToTop.js Link

Script to scroll to top with smooth scroll

noDAO.js Link

Script to disable animation delay opacity

repoDownload.js Link

Script that add a button to download a github repository

gWallpaper.js Link

Change Google Search Engine background image every day with random wallpaper

rotateThis.js Link

Simple script to rotate images by 45° on each click

floatly.js Link

Floatly is an awesome floating button that brings quick actions from any website. Made to be mobile friendly first, but it also works on desktop.

Checkout the dedicated repo wich include an extension version with GUI -> Floatly

mti.js

Meta Theme Injector is an extension that let you customize the theme-color meta tag on websites.

Classic script version -> Link

Auto-detect color version ->Link

Checkout the dedicated repo wich include an extension version with GUI -> MTI

Contributing

If you have a suggestion feel free to share it by opening an issue You can suggest a new userscript that i should create or an improvements to already available ones

scriptz's People

Contributors

d3ward avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

scriptz's Issues

Privacy and/or fingerprint protection

Hi d3ward

Could you please think over the development of some privacy and/or fingerprint protecting scripts for Kiwi ?

Like -

https://greasyfork.org/en/scripts/381528-disable-hyperlink-auditing ,
https://greasyfork.org/en/scripts/421262-no-fingerprint ,
https://greasyfork.org/en/scripts/381800-canvas-fingerprint-blocker ,
https://greasyfork.org/en/scripts/29352-screen-resolution-spoof ,
https://greasyfork.org/en/scripts/390653-fake-gps-location ,
Etc.

These are compatible with desktop only. Will be great if we get such for android, that is, in Kiwi.

Regards

YouTube download

Hi d3ward
As have the communications on Kiwi telegram chat yesterday, I've an idea of a script looking for.
There are some scripts available to download YouTube video, but as I've seen, they not work with mobile browser like Kiwi even after installation is successful.
Could you please look over the compatibility issues to fix any of them, or create a such new for Kiwi ? It will be a good feature addition for Kiwi.
Greetings.

Transparency

Hi dev
Is it possible to add some transparency to the buttons of tbScroller.js ?
The black color often obstruct content.
Greetings

I want to do it manually full screen.where to change?

// ==UserScript==
// @name        AutoFullScreen
// @namespace  Scriptz (https://github.com/d3ward/scriptz)
// @match      *://*/* 
// @grant       none
// @version     1.0
// @author      Eduard Ursu ( d3ward )
// @description Script to auto switch to full screen mode 
// ==/UserScript==

const bg_color="00";
const fill_color="#1DA1F2" ;
function addStyle(css) {
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = css;
    head.appendChild(style);
}
(function() {
    'use strict';
    
    addStyle('#fly{position:fixed; bottom:0; right:0; padding:6px; width:60px; margin:0; height:60px; z-index:9999;}#fly svg{height:30px;fill:'+fill_color+';}.fly_btn{display:flex;align-items:center;justify-content:center;width: 100%; height:100%;background-color:'+ bg_color+ ';border-radius:50%; user-select: none;}.a_i{display:inline-table; width: 46px; height:46px; background-color: #E84F3E; color:#fff; border-radius:50%; box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.15);}   #fs_action.fullscreen #compress,#fs_action #expand{display:inline;}#fs_action.fullscreen #expand,#fs_action #compress{display:none;}');
    
    var div = document.createElement("div");
    div.innerHTML = '<div id="fly"> <div class="fly_btn" onclick="openFS();" id="fs_action"><svg xmlns="http://www.w3.org/2000/svg" id="expand" viewBox="0 0 32 32"><path d="M 4 4 L 4 13 L 6 13 L 6 7.4375 L 14.5625 16 L 6 24.5625 L 6 19 L 4 19 L 4 28 L 13 28 L 13 26 L 7.4375 26 L 16 17.4375 L 24.5625 26 L 19 26 L 19 28 L 28 28 L 28 19 L 26 19 L 26 24.5625 L 17.4375 16 L 26 7.4375 L 26 13 L 28 13 L 28 4 L 19 4 L 19 6 L 24.5625 6 L 16 14.5625 L 7.4375 6 L 13 6 L 13 4 Z"/></svg><svg id="compress" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M 4.71875 3.28125 L 3.28125 4.71875 L 10.5625 12 L 5 12 L 5 14 L 14 14 L 14 5 L 12 5 L 12 10.5625 Z M 27.28125 3.28125 L 20 10.5625 L 20 5 L 18 5 L 18 14 L 27 14 L 27 12 L 21.4375 12 L 28.71875 4.71875 Z M 5 18 L 5 20 L 10.5625 20 L 3.28125 27.28125 L 4.71875 28.71875 L 12 21.4375 L 12 27 L 14 27 L 14 18 Z M 18 18 L 18 27 L 20 27 L 20 21.4375 L 27.28125 28.71875 L 28.71875 27.28125 L 21.4375 20 L 27 20 L 27 18 Z"/></svg> </div></div>';
    //Add floatly
    document.body.appendChild(div);
  var script = document.createElement('script');
    script.appendChild(document.createTextNode('function openFS(){let e=document.getElementById("fs_action");e.classList.contains("fullscreen")?(closeFullscreen(),e.classList.remove("fullscreen")):(openFullscreen(),e.classList.add("fullscreen"))}function openFullscreen(){var e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen()}function closeFullscreen(){document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()} openFS();'));
    document.body.appendChild(script);
})();

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.