討論 » 建立請求

[Request] Filmix (filmix.me) enable left click (custom menu like "search")

§
發表於:2017-02-11
編輯:2017-02-18

[Request] Filmix (filmix.me) enable left click (custom menu like "search")

Reqest/Запрос
Filmix (filmix.me) enable left click for custom menu/plugins like "search"
Filmix (filmix.me) включить использование левого клика, при выделении любого текста, для плагинов типа поисковых, сейчас левый клик не работает

мешает скрипт тут / sript blocking left click here:
https://filmix.me/templates/Filmix/media/js/site.js?v2.1.2

woxxom管理員
§
發表於:2017-02-11

What is custom menu/plugins like "search"? Where exactly is the click blocked? Maybe you can indicate it on a screenshot.

§
發表於:2017-02-11
編輯:2017-02-11

Action(not work): Select text and make left click on selected text
I use "selection search" plugin https://chrome.google.com/webstore/detail/selection-search/gipnlpdeieaidmmeaichnddnmjmcakoe
that have option left click, and it open custom search menu. All other sites work ok, only this not. If adblock block site.js?v2.1.2 then it works, but site not work properly

woxxom管理員
§
發表於:2017-02-11
編輯:2017-02-11

Yeah, that's an awesome extension, I'm using it too.

// ==UserScript==
// @name         Remove jQuery mousedown handler
// @match        https://filmix.me/*
// @grant        none
// ==/UserScript==

jQuery._data(document.body, 'events').mousedown = [];

P.S. it was caused by $('body').on('mousedown', in site.js

§
發表於:2017-02-11

Still not working,
"Selection Search extension>>Popup Menu>>Mouse Click>>Left click"

using direct script installation in chrome with manifest.json+sript.js

manifest.json:
{
"content_scripts": [ {
"exclude_globs": [ ],
"exclude_matches": [ ],
"include_globs": [ "https://filmix.me/*" ],
"js": [ "script.js" ],
"matches": [ "https://filmix.me/*" ],
"run_at": "document_start"
} ],
"converted_from_user_script": true,
"description": "Filmix Prevent Ctrl-C interception",
"name": "Filmix Prevent Ctrl-C interception",
"version": "1.0",
"manifest_version": 2
}


Is it possible to merge with working script "Ctrl+C remove Trash when copy", same manifest ?
https://greasyforks.org/ru/forum/discussion/17456/solved-filmix-filmix-me-ctrl-c-remove-trash-when-copy#latest

woxxom管理員
§
發表於:2017-02-11
編輯:2017-02-11

Works for me using Tampermonkey. Chrome by itself doesn't support many features of userscripts. Try adding unsafeWindow. before jQuery without any spaces.

§
發表於:2017-02-11

(it works with tampermonkey, direct not)
chrome 55:
unsafeWindow.jQuery._data(document.body, 'events').mousedown = [];

Uncaught TypeError: Cannot read property '_data' of undefined

jQuery._data(document.body, 'events').mousedown = [];

Uncaught ReferenceError: jQuery is not defined

發表回覆

登入以回覆

长期地址
遇到问题?请前往 GitHub 提 Issues。