Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- ____ _ _ _____
- ( __| _ __ ___ __ __ | | ___ _ __ __| | |___ |
- (___ ) | ,_ ) ( _ ) ) ) () ( ( | | ( _ ) | __| ( _ | ( (
- ___) | | | | | | (_) | ) V V ( | |___ | (_) | | | | (_| | ( (
- |____( |_| |_| )___( )_()_( |_____| )___( |_| )____| (_(
- Please do not steal, or copy.
- I will be annoyed at you, learn to do something yourself.
- */
- chrome.contextMenus.removeAll(function() {
- console.log('Removed all context menus.');
- });
- chrome.contextMenus.create({
- 'id': 'main-custom-context',
- 'title': 'Reset Settings',
- 'type': 'normal',
- 'contexts': ['browser_action'],
- });
- console.log('Added reset options context menu.');
- chrome.contextMenus.onClicked.addListener(function(info, tab) {
- if (info.menuItemId == 'main-custom-context') resetSettings();
- console.log('Settings have been reset.');
- });
- chrome.runtime.onInstalled.addListener(resetSettings);
- chrome.runtime.onStartup.addListener(checkSettings);
- function resetSettings() {
- let data = {
- 'settings': {
- 'urls': [
- ['Vertix.io Cheat', 'Exploit by Drew Snow for Vertix.io.', 'https://cdn.jsdelivr.net/gh/SnowLord7/vertixio@master/main.js'],
- ['Developer Console', 'Custom developer console to bypass blocked consoles on school computers made by Drew Snow.', 'https://cdn.jsdelivr.net/gh/SnowLord7/devconsole@master/main.js'],
- ['Funny Troll', 'Troll yourself and your friend with this script made by Drew Snow.', 'https://cdn.jsdelivr.net/gh/SnowLord7/Random-Useful-Scripts@master/troll.js'],
- ['Roblox Join Player', 'Join any player in a Roblox game made by Drew Snow.', 'https://cdn.jsdelivr.net/gh/SnowLord7/roblox@master/Join%20Player.js'],
- ['Roblox Join Empty Server', 'Join the Roblox server with the least amount of players made by Drew Snow.', 'https://cdn.jsdelivr.net/gh/SnowLord7/roblox@master/Join%20Empty%20Server.js'],
- ['Quizlet Modes', 'Exploit by Drew Snow for Quizlet game modes.', 'https://cdn.jsdelivr.net/gh/SnowLord7/quizlet@master/main.js'],
- ['Quizlet Live', 'Exploit by Drew Snow for Quizlet live.', 'https://cdn.jsdelivr.net/gh/SnowLord7/quizlet@master/live.js']
- ]
- }
- };
- chrome.storage.sync.set(data);
- console.log(data);
- }
- function checkSettings() {
- chrome.storage.sync.get('settings', function(data) {
- if (!data) {
- resetSettings();
- }
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement