mirror of
https://github.com/Pathduck/pathduck.github.io.git
synced 2026-08-05 00:20:37 -04:00
added vivaldi
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
// ==UserScript==
|
||||
// @name Google I'm Feeling Lucky Redirect
|
||||
// @namespace https://snomiao.com/
|
||||
// @version 0.3.0
|
||||
// @description Immediately redirects when google prompts 'redirection notice'. Used to circumvent google pestering you when querying with I'm Feeling Lucky feature.
|
||||
// @author snomiao
|
||||
// @include https://www.google.com/url?*q=*
|
||||
// @icon https://icons.duckduckgo.com/ip2/google.com.ico
|
||||
// @run-at document-start
|
||||
// @github https://github.com/snomiao/userscript.js/blob/master/GoogleImFeelingLuckyRedirect.user.js
|
||||
// ==/UserScript==
|
||||
|
||||
// ref: [Workaround for Google I'm Feeling Lucky Redirect]( https://greasyfork.org/en/scripts/390770-workaround-for-google-i-m-feeling-lucky-redirect )
|
||||
|
||||
const url = Object.fromEntries(
|
||||
location.search
|
||||
.slice(1)
|
||||
.split('&')
|
||||
.map((e) => e.split('='))
|
||||
).q;
|
||||
if (url) location = url;
|
||||
Reference in New Issue
Block a user